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|}}}}}|gm={{#ifeq:{{{2|}}}|icon|[[File:Icon_sc.png|12px|none|link=]]}}[[scGM:{{PAGENAME}}|{{PAGENAME}}]]
<includeonly>{{#switch: {{lc:{{{1|}}}}}
|gm={{#ifeq:{{{2|}}}|icon|[[File:Icon_sc.png|12px|none|link=]&nbsp;]}}[[scGM:{{PAGENAME}}|{{PAGENAME}}]]
|wod={{#ifeq:{{{2|}}}|icon|[[File:Icon_wod.png|12px|none|link=]]&nbsp;}}[[scWOD:{{PAGENAME}}|{{PAGENAME}}]]
|wod={{#ifeq:{{{2|}}}|icon|[[File:Icon_wod.png|12px|none|link=]]&nbsp;}}[[scWOD:{{PAGENAME}}|{{PAGENAME}}]]
|vtr={{#ifeq:{{{2|}}}|icon|[[File:Icon_vtr.png|12px|none|link=]]&nbsp;}}[[scVTR:{{PAGENAME}}|{{PAGENAME}}]]
|vtr={{#ifeq:{{{2|}}}|icon|[[File:Icon_vtr.png|12px|none|link=]]&nbsp;}}[[scVTR:{{PAGENAME}}|{{PAGENAME}}]]

Revision as of 23:11, 16 March 2017

Example use

{{getLink|WOD|icon}}