Template:Specialization link/view: Difference between revisions
From Against the Storm Official Wiki
m (adding notext option to show icon only) |
m (cleaning up some whitespace) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class="ats-link-specialization">{{#ifeq: {{{ | <includeonly><span class="ats-link-specialization nowrap">{{#ifeq: {{{iconsize|}}} | none | ||
| <!-- then skip icon --> | |<!-- then skip icon --> | ||
| <!-- else do icon --> | |<!-- else do icon --> | ||
[[File:{{{iconfilename|question_mark.png}}} | {{#switch:{{{ | [[File:{{{iconfilename|question_mark.png}}} | {{#switch:{{{iconsize|small}}} |medium={{ImgM}} |large={{ImgL}} |huge={{ImgL}} |<!--default small-->{{ImgS}} }} |link={{{name|Specialization}}} |{{{name|}}} ]] | ||
|link={{{name|Specialization}}} | {{{name|}}} | }}{{#ifeq: {{{display|}}} | notext | ||
}} {{#ifeq: {{{ | |<!-- then skip text part --> | ||
| <!-- then skip text part --> | |<!-- else do text part -->{{#ifeq:{{{iconsize|}}}|none|<!--skip space-->| }}[[{{{name|Specialization}}} |{{{name|}}}{{#if:{{{type|}}}| ({{{type|}}})|}}]] | ||
| <!-- else do text part --> | }}</span></includeonly><noinclude> | ||
[[{{{name|Specialization}}} | {{{name|}}} ({{{type|}}})]] }}</span></includeonly><noinclude> | |||
{{Reserved template warning}} | |||
[[Category: Reserved templates]] | [[Category: Reserved templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:12, 8 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.