Template:Tag: Difference between revisions

Template page
w:c:strategywiki>Skizzerz
(add param "tagclass")
w:c:strategywiki>Najzere
m (adding icon sizing parameter)
Line 1: Line 1:
<div class="header_box {{#if:{{{hide|}}}|developer_header_box}} {{{class|}}}">{{#if:{{{icon|}}}|[[Image:{{{icon|}}} icon.png|left]]}}<p>{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}} {{{description|}}}</p><p style="font-size:smaller">{{{smalltext|}}}</p>{{-}}</div><div class="nav_toc_append articletag {{{tagclass|}}}">{{#if:{{{icon|}}}|[[Image:{{{icon|}}} icon.png|25px|{{{shorttext|}}}]]}}<span style="padding-left:0.1em">{{{tag|}}}</span><div class="desc"><p>{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}} {{{description|}}}</p><p style="font-size:smaller">{{{smalltext|}}}</p></div>{{-}}</div><noinclude>
<div class="header_box {{#if:{{{hide|}}}|developer_header_box}} {{{class|}}}">{{#if:{{{icon|}}}|[[Image:{{{icon|}}} icon.png|left|{{{iconsize|{{{icon}}}}}}]]}}<p>{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}} {{{description|}}}</p><p style="font-size:smaller">{{{smalltext|}}}</p>{{-}}</div><div class="nav_toc_append articletag {{{tagclass|}}}">{{#if:{{{icon|}}}|[[Image:{{{icon|}}} icon.png|25px|{{{shorttext|}}}]]}}<span style="padding-left:0.1em">{{{tag|}}}</span><div class="desc"><p>{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}} {{{description|}}}</p><p style="font-size:smaller">{{{smalltext|}}}</p></div>{{-}}</div><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Header box templates|T]]</noinclude>
[[Category:Header box templates|T]]</noinclude>

Revision as of 19:39, 9 September 2009

This page has been transcluded from Template:Tag/Documentation.


High-risk
High-risk

This high-risk template or image has been protected indefinitely. It is widely used and is at significant risk of vandalism. If you would like to edit this page, bring it up on the talk page, contact a sysop, or bring it up on Discord. Protection is not an endorsement of the current version, which is inevitably the wrong version.

{{tag
|hide=If value entered, will hide header box at top of page
|icon=Icon name to use
|iconsize=Optional resizing for icon
|class=Additional css classes to apply to the header box
|tagclass=Additional css classes to apply to the article tag
|shorttext=Highlighted text
|description=Full description shown in header box or pop-up
|smalltext=Smaller supplementary text
|tag=Tag displayed in toolbox
}}