Template:One: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#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}}}]]|}}|}}</includeonly><noinclude>{{tocright}} | <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}} | ||
This is a quick template to make One D&D links easier. | This is a quick template to make One D&D links easier. | ||
Revision as of 17:17, 13 October 2022
This is a quick template to make One D&D links easier.
Syntax
One DnD with only LinkText
{{One|LinkText}}
produces:
{{#if: LinkText|LinkText|One D&D
One DnD with LinkText
{{One|LinkText|DisplayText}}
produces:
{{#if: LinkText|LinkText|One D&D
One DnD with LinkText and Property
{{One|LinkText|DisplayText|PropertyName}}
produces:
{{#if: LinkText|LinkText|One D&D