Modèle:Panel title : Différence entre versions
Version du 24 janvier 2011 à 23:10 | Version actuelle en date du 30 octobre 2014 à 10:38 11 versions | |||
5 révisions intermédiaires par un autre utilisateur non affichées | ||||
Ligne 1 : | Ligne 1 : | |||
? | <div id="Panel" class="Title"> | + | {{#if:{{{rMargin|}}}|<div id="Panel" class="Title" style="margin-right:{{{rMargin}}}">|<div id="Panel" class="Title">}} | |
? | {{{icon}}}{{{content}}} | + | {{{icon}}}<p>{{{content}}}</p> | |
</div> | </div> | |||
<noinclude> | <noinclude> | |||
==Notes== | ==Notes== | |||
? | + | *use the Tank Page template for title templates inside tank pages (has "rMargin") | ||
+ | *icon - image of the icon you want to use | |||
+ | *rMargin - sets a margin on the right to leave room for Tank Panel | |||
+ | *content - written text | |||
==Template== | ==Template== | |||
<pre> | <pre> | |||
{{Panel title | {{Panel title | |||
+ | |icon= | |||
+ | |content= | |||
+ | }} | |||
+ | </pre> | |||
+ | ||||
+ | ==Template for Tank Pages== | |||
+ | <pre> | |||
+ | {{Panel title | |||
+ | |icon= | |||
+ | |rMargin=248px | |||
|content= | |content= | |||
}} | }} |
Version actuelle en date du 30 octobre 2014 à 10:38
{{{icon}}}
{{{content}}}
Notes
- use the Tank Page template for title templates inside tank pages (has "rMargin")
- icon - image of the icon you want to use
- rMargin - sets a margin on the right to leave room for Tank Panel
- content - written text
Template
{{Panel title |icon= |content= }}
Template for Tank Pages
{{Panel title |icon= |rMargin=248px |content= }}
Catégorie :