« Modèle:Dynamic navigation noncentered » : différence entre les versions
[version non vérifiée] | [version non vérifiée] |
Contenu supprimé Contenu ajouté
[er talk |
rv nasty css hack |
||
Ligne 1 : | Ligne 1 : | ||
<div style="clear:both;text-align:center;{{#if:{{{WIDTH|}}}|width:{{{WIDTH}}}| }};margin:auto;" align="center" class="NavFrame {{{EXT|}}}"> |
<div style="clear:both;text-align:center;{{#if:{{{WIDTH|}}}|width:{{{WIDTH}}}| }};margin:auto;" align="center" class="NavFrame {{{EXT|}}}"> |
||
<div class="NavHead" style="clear:both;text-align:center;background:{{{BGCOLOR}}};">{{{TITLE}}}</div> |
<div class="NavHead" style="clear:both;text-align:center;background:{{{BGCOLOR}}};">{{{TITLE}}}</div> |
||
<div class="NavContent" style="clear:both;text-align:left; |
<div class="NavContent" style="clear:both;text-align:left;"> |
||
{{{CONTENT}}} |
{{{CONTENT}}} |
||
</div> |
</div> |
||
Ligne 18 : | Ligne 18 : | ||
EXT = Optional extentions [space seperated list. case-sensitive] so far only NavOnce |
EXT = Optional extentions [space seperated list. case-sensitive] so far only NavOnce |
||
EXT=NavOnce = only allow one navbox with this extention visible at a time (closes other one's)</pre> |
EXT=NavOnce = only allow one navbox with this extention visible at a time (closes other one's)</pre> |
||
STATE = Use "hide" to set the box as initially collapsed, else leave blank |
|||
[[pl:Szablon:Szablon nawigacyjny]] |
[[pl:Szablon:Szablon nawigacyjny]] |
||
</noinclude> |
</noinclude> |
Version du 20 septembre 2008 à 19:29
{{{TITLE}}}
{{{CONTENT}}}
Parameter: BGCOLOR = colour of the heading of the navigation box TITLE = heading of the navigation box CONTENT = contents of the navigation box. Use | to separate links. It is not possible to include a pipe ("|") in the contents as this symbol is used to separate parameters. SMALLCONTENT = OPTIONAL. as per CONTENT but produces 90% fontsize WIDTH = Optional parameter to limit width EXT = Optional extentions [space seperated list. case-sensitive] so far only NavOnce EXT=NavOnce = only allow one navbox with this extention visible at a time (closes other one's)