Difference between revisions of "Template:Icon"

From The Coppermind
Jump to navigation Jump to search
m
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
[[File:<!--
{{#switch:{{{1}}}
 
  +
-->{{Symbol|{{{1}}}|{{{2}}}|}}<!--
|kholin|shield|spears|sunrise|szeth=<p>{{{1}}}.jpg</p>
 
|[[File:{{Symbol|{{{1}}}|{{{2}}}|}}|{{{3}}}|{{{4}}}|{{{5}}}|link={{{link|{{{1}}}|}}}|{{{6|{{{1}}}|}}}]]}}
+
-->|{{{3}}}|{{{4}}}|{{{5}}}<!--
  +
-->|link={{{link|File:{{Symbol|{{{1}}}|{{{2}}}}}}}}<!--
<noinclude>
 
  +
-->|{{{text|{{{6|{{{1}}}|}}}|}}}<!--
[[Category: Link Macros]]
 
  +
-->]]<noinclude>[[category: link macros]][[category: symbols|~]]
  +
  +
This template generates a <nowiki>[[File:]]</nowiki> link to a {{t|symbol}}, where {{{1}}} and {{{2}}} indicate the symbol, {{{3}}}, {{{4}}}, {{{5}}} are passed to the file link, and the link can have {{{link}}} and {{{text}}}
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Latest revision as of 20:53, 27 October 2022

[[File:|{{{3}}}|{{{4}}}|{{{5}}}|link=File:|{{{1}}}]]

This template generates a [[File:]] link to a {{symbol}}, where {{{1}}} and {{{2}}} indicate the symbol, {{{3}}}, {{{4}}}, {{{5}}} are passed to the file link, and the link can have {{{link}}} and {{{text}}}

Articles using Template[edit]