Difference between revisions of "Template:SRD5"
From Dungeons and Dragons Wiki
(parameters) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{3|}}}|[[SRD5:{{{1}}}{{!}}{{#if:{{{2|}}}|{{{2}}}|{{{1}}}|}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[SRD5:{{{1}}}{{!}}{{{2}}}]]|[[SRD5:{{{1}}}|{{{1}}}]]}}}}</includeonly><noinclude> | + | <includeonly>{{#if:{{{3|}}}|[[SRD5:{{{1}}}{{!}}{{#if:{{{2|}}}|{{{2}}}|{{{1}}}|}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[SRD5:{{{1}}}{{!}}{{{2}}}]]|[[SRD5:{{{1}}}|{{{1}}}]]}}}}{{#set:Canon=true}}{{#set:Author=SRD5}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 14:27, 26 November 2019
Template documentation (for the above template, sometimes hidden or invisible)
This is a quick template to make SRD5 links easier.
Syntax
SRD5 with only LinkText
{{SRD5|LinkText}}
produces:
SRD5 with LinkText
{{SRD5|LinkText|DisplayText}}
produces:
SRD5 with LinkText and Property
{{SRD5|LinkText|DisplayText|PropertyName}}
produces:
Visit Template:SRD5/doc to edit this text! (How does this work?)