Template:TextC: Difference between revisions
From Exiled Kingdoms Wiki
m (Replaced content with "<noinclude>Category:Templates {{Documentation}}</noinclude> {{#ifexpr:{{#len:{{{1}}}}}>1000|Character limit (1,000) exceeded! Please shorten content or use alternate t...") |
mNo edit summary |
||
Line 4: | Line 4: | ||
|SList={{#if:{{{1|}}}|<ul>{{#replace:<li>{{#replace:{{{1}}}|{{{3|;}}}|</li><li>}}</li>|<li></li>|}}</ul>}} | |SList={{#if:{{{1|}}}|<ul>{{#replace:<li>{{#replace:{{{1}}}|{{{3|;}}}|</li><li>}}</li>|<li></li>|}}</ul>}} | ||
|SListCol={{#if:{{#explode:{{{1}}}|{{{3|;}}}|3}}|2|1}} | |SListCol={{#if:{{#explode:{{{1}}}|{{{3|;}}}|3}}|2|1}} | ||
|Diamonds={{#replace:{{{1|}}}|;| ♦}}}}}} | |Diamonds={{#replace:{{{1|}}}|;| ♦}} | ||
|Transp={{#if:{{#explode:{{{1}}}|{{{3|;}}}|0}}|{{#ifeq:{{#sub:{{#explode:{{{1}}}|{{{3|;}}}|0}}|0|1}}|-|<ul><li>{{#explode:{{{1}}}|{{{3|;}}}|0}}</li></ul>|<ul><li>[[{{#explode:{{{1}}}|{{{3|;}}}|0}}]]{{:{{#explode:{{{1}}}|{{{3|;}}}|0}}|npcAct}}</li></ul>}}}} | |||
{{#if:{{#explode:{{{1}}}|{{{3|;}}}|1}}|{{#ifeq:{{#sub:{{#explode:{{{1}}}|{{{3|;}}}|1}}|0|1}}|-|<ul><li>{{#explode:{{{1}}}|{{{3|;}}}|1}}</li></ul>|<ul><li>[[{{#explode:{{{1}}}|{{{3|;}}}|1}}]]{{:{{#explode:{{{1}}}|{{{3|;}}}|1}}|npcAct}}</li></ul>}}}} | |||
{{#if:{{#explode:{{{1}}}|{{{3|;}}}|2}}|{{#ifeq:{{#sub:{{#explode:{{{1}}}|{{{3|;}}}|2}}|0|1}}|-|<ul><li>{{#explode:{{{1}}}|{{{3|;}}}|2}}</li></ul>|<ul><li>[[{{#explode:{{{1}}}|{{{3|;}}}|2}}]]{{:{{#explode:{{{1}}}|{{{3|;}}}|2}}|npcAct}}</li></ul>}}}} | |||
}}}} |
Revision as of 01:03, 30 May 2017
Use
Lists of ; separated items
{{TextC|listofstuff|SList|;(optional delimiter)}}
Area Transport list
{{TextC|Listoftransporters|Transp}}
Use plain npc names separated by a ;
put a - if not an npc and use the ul and li tags around the destination only
Items List
{{TextC|ListofItems|ItmLst}}
Image Check
{{TextC|Pic|ImgChk|optional settings}}
Merchants List
{{TextC|merchants|MerchList}}
Notes
test
testing