Difference between revisions of "Template:Srd5lc"

From Rlyehwiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{3|}}}|[[SRD5:{{{1}}}{{!}}{{lc:{{{2}}}}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[SRD5:{{{1}}}{{!}}{{lc:{{{2}}}}}]]|[[SRD5:{{{1}}}|{{lc:{{{1}}}}}]]}}}}</i...")
 
 
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|[[SRD5:{{{1}}}{{!}}{{lc:{{{2}}}}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[SRD5:{{{1}}}{{!}}{{lc:{{{2}}}}}]]|[[SRD5:{{{1}}}|{{lc:{{{1}}}}}]]}}}}</includeonly><noinclude>
+
<includeonly>{{#if: {{{3|}}}|{{#set: {{{3}}}={{{1}}}}}|}}[[SRD5:{{{1}}}|{{#if: {{{2|}}}|{{lc:{{{2}}}}}|{{lc:{{{1}}}}}|}}]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 06:29, 13 June 2019

Template documentation (for the above template, sometimes hidden or invisible)

This is a quick template to make SRD5 links with the display text in lower case easier.

Syntax

SRD5 with only LinkText

{{srd5lc|LinkText}}

produces:

linktext

SRD5 with LinkText

{{srd5cl|LinkText|DisplayText}}

produces:

displaytext

SRD5 with LinkText and Property

{{srd5lc|LinkText|DisplayText|PropertyName}}

produces:

displaytext


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