Template:Resource link/view: Difference between revisions
From Against the Storm Official Wiki
(Creating to externalize the view from the module) |
(wrong default) |
||
Line 5: | Line 5: | ||
|<!--case--> large={{ImgL}} | |<!--case--> large={{ImgL}} | ||
|<!--case--> huge={{ImgH}} | |<!--case--> huge={{ImgH}} | ||
|<!--default-->{{ | |<!--default-->{{ImgS}} }} | link={{{name|Name?}}} | {{{name|Name?}}}]]}} {{#ifeq: {{{display|}}} | notext | ||
|<!--then skip text--> | |<!--then skip text--> | ||
|<!--else do text-->[[{{{name|Name?}}}]]}}</span><noinclude> | |<!--else do text-->[[{{{name|Name?}}}]]}}</span><noinclude> |
Revision as of 02:42, 19 October 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.
Examples
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png}}
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|iconsize=huge}}
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|iconsize=none}}
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|display=notext}}
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png}} |
Pie |
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|iconsize=huge}} |
Pie |
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|iconsize=none}} |
Pie |
{{Resource link/view|name=Pie|iconfilename=Icon_Resource_Pie.png|display=notext}} |