Template:Onelc: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{3|}}}|[[One:{{{1}}}{{!}}{{lc:{{{2}}}}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[One:{{{1}}}{{!}}{{lc:{{{2}}}}}]]|[[One:{{{1}}}|{{lc:{{{1}}}}}]]}}}}</incl...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|[[One:{{{1}}}{{!}}{{lc:{{{2}}}}}]][[{{{3}}}::{{{1}}}| ]]|{{#if:{{{2|}}}|[[One:{{{1}}}{{!}}{{lc:{{{2}}}}}]]|[[One:{{{1}}}|{{lc:{{{1}}}}}]]}}}}</includeonly><noinclude>
<includeonly>{{#if: {{{1|}}}|{{#ifexist: One:{{{1|}}}|{{#if: {{{2|}}}|[[One:{{{1}}}|{{lc:{{{2}}}}}]]|[[One:{{{1}}}|{{lc:{{{1}}}}}]]|}}|<!--One:xx dosen't exist-->{{#ifexist: 5e:{{{1|}}}|{{#if: {{{2|}}}|[[5e:{{{1}}}|{{lc:{{{2}}}}}]]|[[5e:{{{1}}}|{{lc:{{{1}}}}}]]|}}<!--5e:xx dosen't exist-->{{#if: {{{2|}}}|[[SRD5:{{{1}}}|{{lc:{{{2}}}}}]]|}}|[[SRD5:{{{1}}}|{{lc:{{{1}}}}}]]|}}|}}|<!--no {{{1}}}-->[[One:Main|One D&D]]|}}</includeonly><noinclude>
This is a quick template to make One links with the display text in lower case easier.
This is a quick template to make One links with the display text in lower case easier.



Latest revision as of 14:54, 13 October 2022

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

Syntax

One with only LinkText

{{onedlc|LinkText}}

produces:

linktext

One with LinkText

{{onelc|LinkText|DisplayText}}

produces:

linktext

One with LinkText and Property

{{onelc|LinkText|DisplayText|PropertyName}}

produces:

linktext