Template:Tag: Difference between revisions

Template page
w:c:strategywiki>Prod
(inline styles to hide if it should be hidden)
m (29 revisions imported: Imported from https://strategywiki.org/)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="header_box {{#if:{{{hide|}}}|developer_header_box}} {{{class|}}}" {{#if:{{{hide|}}}|style="display: none"}}>{{{file|{{#if:{{{icon|}}}|[[File:{{{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|}}}" style="dislplay: none">{{#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>
<templatestyles src="Template:Tag/styles.css" /><div class="header_box {{#if:{{{hide|}}}|header_box_hidden}} noprint {{{class|}}}">{{#if:{{{icon|}}}|[[File:{{{icon|}}} icon.{{{svg|png}}}|left|{{{iconsize|{{{icon}}}}}}]]}}
{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}}
{{{description|}}}
<p style="font-size:smaller">{{{smalltext|}}}</p>
{{-}}
</div><div class="nav_toc_append articletag {{{tagclass|}}}" style="display:none">{{#if:{{{icon|}}}|[[File:{{{icon|}}} icon.{{{svg|png}}}|25px|{{{shorttext|}}}]]}}<span style="padding-left:0.1em">{{{tag|}}}</span>
<div class="desc">
{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}}
{{{description|}}}
<p style="font-size:smaller">{{{smalltext|}}}</p>
</div>
{{-}}
</div><noinclude>
{{Documentation}}
{{Documentation}}


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

Latest revision as of 18:29, 28 October 2023


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
}}