Difference between revisions of "Template:5eplc"

From Rlyehwiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#if: {{{3|}}}|{{#set: {{{3}}}={{{1}}}}}|}}[[5e:{{{1}}} (pointer)|{{#if: {{{2|}}}|{{lc:{{{2}}}}}|{{lc:{{{1}}}}}|}}]]</includeonly><noinclude>
+
<includeonly>{{#if: {{{3|}}}|{{#set: {{{3}}}={{{1}}}}}|}}[[5e:{{{1}}} (pointer)|{{#if: {{{2|}}}|{{lc:{{{2}}}}}}|{{lc:{{{1}}}}}|}}]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 06:51, 13 June 2019

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

This is a quick template to make 5th edition pointer links easier.
5eplc is short for 5th edition pointer lower case.

Syntax

5th with only LinkText

{{5eplc|LinkText}}

produces:

linktext

5th with LinkText

{{5eplc|LinkText|DisplayText}}

produces:

displaytext

5th with LinkText and Property

{{5eplc|LinkText|DisplayText|PropertyName}}

produces:

displaytext




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