Template:One: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|{{#ifexist: One:{{{1|}}}|{{#if: {{{2|}}}|[[One:{{{1}}}|{{{2}}}]]|[[One:{{{1}}}|{{{1}}}]]|}}|<!--One:xx dosen't exist-->{{#ifexist: 5e:{{{1|}}}|{{#if: {{{2|}}}|[[5e:{{{1}}}|{{{2}}}]]|[[5e:{{{1}}}|{{{1}}}]]|}}<!--5e:xx dosen't exist-->{{#if: {{{2|}}}|[[SRD5:{{{1}}}|{{{2}}}]]|}}|[[SRD5:{{{1}}}|{{{1}}}]]|}}|}}|<!--no {{{1}}}-->[[One:Main|One D&D]]</includeonly><noinclude>{{tocright}}
<includeonly>{{#if: {{{1|}}}|{{#ifexist: One:{{{1}}}|[[One:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]|<!--One:xx dosen't exist-->{{#ifexist: 5e:{{{1}}}|[[5e:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]|<!--5e:xx dosen't exist-->{{#ifexist: SRD5:{{{1}}}|[[SRD5:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]|<!--SRD5:xx dosen't exist-->[[One:{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]|}}|}}|}}<!--{{#if: {{{3|}}}|{{#set: {{{3}}}={{{1}}}}}|}}-->|[[One:Main|One D&D]]}}</includeonly><noinclude>{{tocright}}
This is a quick template to make One D&D links easier.
This is a quick template to make One D&D links easier.


Line 24: Line 24:
{{One|LinkText|DisplayText|PropertyName}}
{{One|LinkText|DisplayText|PropertyName}}


<!-- Testing
{{One|Climb Speed}}
{{One|Arcane Trickster}}
{{One|Charisma}}
{{One|Booga}}
{{One}}
-->
{{One Footer|Template}}
{{One Footer|Template}}
[[Category:One Templates]]
[[Category:One Templates]]
</noinclude>
</noinclude>

Latest revision as of 06:14, 18 October 2022

This is a quick template to make One D&D links easier.

Syntax

One DnD with only LinkText

{{One|LinkText}}

produces:

LinkText

One DnD with LinkText

{{One|LinkText|DisplayText}}

produces:

DisplayText

One DnD with LinkText and Property

{{One|LinkText|DisplayText|PropertyName}}

produces:

DisplayText


Back to Main PageDnDOne D&DTemplate