Template:Building link/view: Difference between revisions

From Against the Storm Official Wiki
(Removing examples to make the reserved template warning stand out)
m (adding back in an important comment)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="ats-link-building {{#ifeq:{{{iconsize|}}}|small|ats-flag-small|}} nowrap">{{#ifeq: {{{iconsize|}}} | none
<includeonly><span class="ats-link-building {{#ifeq:{{{iconsize|}}}|small|ats-flag-small|}} nowrap">{{#ifeq: {{{iconsize|}}} | none
|<!--then skip icon-->
|<!--then skip icon-->
|<!--else do icon-->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{iconsize|medium}}}
|<!--else do icon-->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{iconsize|medium}}}
Line 7: Line 7:
|<!--default-->{{ImgM}} }} | link={{{name|Name?}}} | {{{name|Name?}}}]]}} {{#ifeq: {{{display|}}} | notext
|<!--default-->{{ImgM}} }} | link={{{name|Name?}}} | {{{name|Name?}}}]]}} {{#ifeq: {{{display|}}} | notext
|<!--then skip text -->
|<!--then skip text -->
|<!--else do text -->[[{{{name|Name?}}}]]{{{plural|}}}}}</span><noinclude>
|<!--else do text -->[[{{{name|Name?}}}]]{{{plural|}}}}}</span></includeonly><noinclude>
 
<!-- The default in the switch statement in the code is the default for THIS template, not for the parent template, where the default is no icon. Incidentally, this allows for some backward compatibility for catching both "med" and "medium," but this may change so do not rely on it. -->


{{Template:Reserved_template_warning}}
{{Template:Reserved_template_warning}}

Latest revision as of 14:05, 9 November 2024


Templates in the Reserved templates subcategory are NOT intended to be used directly by article authors.

These templates are reserved for special pages, meta pages, and automated by Lua modules.

Please reach out to the wiki community for alternatives before you use these templates on your pages.