Difference between revisions of "Template:SRD5"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "<includeonly>{| |[[SRD5:{{ucfirst:{{{1}}}}}{{!}}{{{1}}}]] |}</includeonly><noinclude> ==Use== This is a quick template to make SRD5 links easier. ==Syntax== '''<nowiki>{{SRD...")
 
m (correcting property errors)
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|
+
<includeonly>{{#if:{{{3|}}}|[[SRD5:{{{1}}}{{!}}{{#if:{{{2|}}}|{{{2}}}|{{{1}}}|}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[SRD5:{{{1}}}{{!}}{{{2}}}]]|[[SRD5:{{{1}}}|{{{1}}}]]}}}}</includeonly><noinclude>
|[[SRD5:{{ucfirst:{{{1}}}}}{{!}}{{{1}}}]]
+
{{documentation}}
|}</includeonly><noinclude>
 
 
 
==Use==
 
This is a quick template to make SRD5 links easier.
 
 
 
==Syntax==
 
'''<nowiki>{{SRD5|foo}}}</nowiki>'''
 
 
 
''produces:''
 
 
 
{{SRD5|foo}}
 
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 +
[[Category:Templates]]</noinclude>

Revision as of 23:57, 4 December 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:

LinkText

SRD5 with LinkText

{{SRD5|LinkText|DisplayText}}

produces:

DisplayText

SRD5 with LinkText and Property

{{SRD5|LinkText|DisplayText|PropertyName}}

produces:

DisplayText



Visit Template:SRD5/doc to edit this text! (How does this work?)