Template:PRel: Difference between revisions
Jump to navigation
Jump to search
(test2) |
(fixed force casing) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[post relates to::{{#if:{{{t|}}}|{{#switch:{{{t}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ |
<includeonly>[[post relates to::{{#if:{{{t|}}}|{{#switch:{{{t}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}}}{{#if:{{{t|}}}|{{{1}}}|{{{1}}}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{2}}}|{{{1}}}|}}}}]]</includeonly><noinclude> |
||
==Usage Documentation== |
==Usage Documentation== |
||
A short-hand for linking posts to their related subjects. |
A short-hand for linking posts to their related subjects. |
Latest revision as of 00:06, 24 January 2014
Usage Documentation
A short-hand for linking posts to their related subjects.
If "t" is declared using the same syntax as Template:Ilink, it will treat it as an item of the appropriate type.
{{PRel|<page>|<name (optional)>|t=<type>(optional)}}