Modèle:Panel title : Différence entre versions
Version du 24 janvier 2011 à 19:31 Created page with "<div id="Panel" class="Title"> {{{content}}} </div> <noinclude> ==Notes== N/A ==Template== <pre> {{Panel title |content= }} </pre> Category:C/P Templates __NOTOC__ </noin..." | Version actuelle en date du 30 octobre 2014 à 10:38 11 versions | |||
10 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">}} | |
? | {{{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 :