Difference between revisions of "Template:5ed"

From Rlyehwiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|[[5e:{{{1}}}{{!}}{{{2}}}]]{{#set: {{{3}}}={{{1}}}}}|{{#if:{{{2|}}}|[[5e:{{{1}}}{{!}}{{{2}}}]]|[[5e:{{{1}}}|{{{1}}}]]}}}}</includeonly><noinclude>
+
<includeonly>{{#if: {{{3|}}}|{{#set: {{{3}}}={{{1}}}}}|}}[[5e:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 06:38, 13 June 2019

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

This is a quick template to make 5th links easier.

Syntax

5th with only LinkText

{{5th|LinkText}}

produces:

LinkText

5th with LinkText

{{5ed|LinkText|DisplayText}}

produces:

DisplayText

5th with LinkText and Property

{{5ed|LinkText|DisplayText|PropertyName}}

produces:

DisplayText



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