Difference between revisions of "Template:Icon"

From The Coppermind
Jump to navigation Jump to search
m
m (+listing)
(4 intermediate revisions by the same user 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|{{{1}}}|}}}<!--
<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}}

Revision as of 19:49, 19 April 2020

[[File:|{{{3}}}|{{{4}}}|{{{5}}}|link={{{1}}}|{{{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