Template:GetLink: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}|gm={{#ifeq:{{{2|}}}|icon|[[File:Icon_sc.png|12px|none|link=]]}}[[scGM:{{PAGENAME}}|{{PAGENAME}}]]
<includeonly>{{#switch: {{lc:{{{1|}}}}}
|wod={{#ifeq:{{{2|}}}|icon|[[File:Icon_wod.png|12px|none|link=]]}}[[scWOD:{{PAGENAME}}|{{PAGENAME}}]]
|gm ={{getIcon|gm|scGM:{{FULLPAGENAME}}}} [[scGM:{{FULLPAGENAME}}|Game Master]]
|vtr={{#ifeq:{{{2|}}}|icon|[[File:Icon_vtr.png|12px|none|link=]]}}[[scVTR:{{PAGENAME}}|{{PAGENAME}}]]
|wod={{getIcon|wod|scWOD:{{FULLPAGENAME}}}} [[scWOD:{{FULLPAGENAME}}|Mortal]]
|wtf={{#ifeq:{{{2|}}}|icon|[[File:Icon_wtf.png|12px|none|link=]]}}[[scWTF:{{PAGENAME}}|{{PAGENAME}}]]
|vtr={{getIcon|vtr|scVTR:{{FULLPAGENAME}}}} [[scVTR:{{FULLPAGENAME}}|Vampire]]
|wtp={{#ifeq:{{{2|}}}|icon|[[File:Icon_wtp.png|12px|none|link=]]|}}[[scWTF:{{PAGENAME}}|{{PAGENAME}}]]}}</includeonly><noinclude>
|wtf={{getIcon|wtf|scWTF:{{FULLPAGENAME}}}} [[scWTF:{{FULLPAGENAME}}|Forsaken]]
|wtp={{getIcon|wtp|scWTF:{{FULLPAGENAME}}}} [[scWTP:{{FULLPAGENAME}}|Pure]]}}</includeonly><noinclude>
==Example use==
==Example use==
  <nowiki>{{getLink|WOD|icon}}</nowiki>
  <nowiki>{{getLink|WOD}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 18:56, 17 March 2017

Example use

{{getLink|WOD}}