Template:Tag: Difference between revisions

Template page
w:c:strategywiki>Prod
m (fix)
w:c:strategywiki>Prod
m (fix space)
Line 1: Line 1:
<templatestyles src="Template:Tag/styles.css" /><div class="header_box {{#if:{{{hide|}}}|header_box_hidden}} noprint {{{class|}}}">{{#if:{{{icon|}}}|[[File:{{{icon|}}} icon.png|left|{{{iconsize|{{{icon}}}}}}]]}}
<templatestyles src="Template:Tag/styles.css" /><div class="header_box {{#if:{{{hide|}}}|header_box_hidden}} noprint {{{class|}}}">{{#if:{{{icon|}}}|[[File:{{{icon|}}} icon.png|left|{{{iconsize|{{{icon}}}}}}]]}}
{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}'''}}{{{description|}}}
{{#if:{{{shorttext|}}}|'''{{{shorttext|}}}''' }}{{{description|}}}
<p style="font-size:smaller">{{{smalltext|}}}</p>
<p style="font-size:smaller">{{{smalltext|}}}</p>
{{-}}
{{-}}

Revision as of 19:47, 24 July 2022

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