Template:GetLink: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
  | gm  = [[scGM:{{PAGENAME}}|{{#ifeq:{{{2|}}}|icon|[[File:Icon_sc.png|12px|none|link=]]|}} {{PAGENAME}}]]
  | gm  = {{#ifeq:{{{2|}}}|icon|[[File:Icon_sc.png|12px|none|link=]]}}[[scGM:{{PAGENAME}}|{{PAGENAME}}]]
  | wod  = [[scWOD:{{PAGENAME}}|{{#ifeq:{{{2|}}}|icon|[[File:Icon_wod.png|12px|none|link=]]|}} {{PAGENAME}}]]
  | wod  = {{#ifeq:{{{2|}}}|icon|[[File:Icon_wod.png|12px|none|link=]]}}[[scWOD:{{PAGENAME}}|{{PAGENAME}}]]
  | vtr  = [[scVTR:{{PAGENAME}}|{{#ifeq:{{{2|}}}|icon|[[File:Icon_vtr.png|12px|none|link=]]|}} {{PAGENAME}}]]
  | vtr  = {{#ifeq:{{{2|}}}|icon|[[File:Icon_vtr.png|12px|none|link=]]}}[[scVTR:{{PAGENAME}}|{{PAGENAME}}]]
  | wtf  = [[scWTF:{{PAGENAME}}|{{#ifeq:{{{2|}}}|icon|[[File:Icon_wtf.png|12px|none|link=]]|}} {{PAGENAME}}]]
  | wtf  = {{#ifeq:{{{2|}}}|icon|[[File:Icon_wtf.png|12px|none|link=]]}}[[scWTF:{{PAGENAME}}|{{PAGENAME}}]]
  | wtp  = [[scWTF:{{PAGENAME}}|{{#ifeq:{{{2|}}}|icon|[[File:Icon_wtp.png|12px|none|link=]]|}} {{PAGENAME}}]]
  | wtp  = {{#ifeq:{{{2|}}}|icon|[[File:Icon_wtp.png|12px|none|link=]]|}}[[scWTF:{{PAGENAME}}|{{PAGENAME}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Example use==
==Example use==
  <nowiki>{{getLink|WOD|icon}}</nowiki>
  <nowiki>{{getLink|WOD|icon}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 23:08, 16 March 2017

Example use

{{getLink|WOD|icon}}