A Wiki in the Desert
Log in

Difference between revisions of "Template:DId"

From A Wiki in the Desert
(Created DId template)
 
m (Moving docs to /doc subpage)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>''Creates text suitable for added to page-jump links''
+
<includeonly>{{#switch:{{{1|None}}}|None=|{{{2|default}}}-}}{{#switch:{{{1|None}}}|Architecture|Arch=arch|Art and Music|Art=art|The Human Body|Human Body|Body=body|Great Hall|GH=GH|Harmony|Harm=harmony|Leadership|Lead=lead|Natural Philosophy|NatPhi=natphi|Thought|Tho=thought|Worship|Wor=worship|}}</includeonly><noinclude>
 
+
{{Documentation}}
Usage: '''<NOWIKI>{{DId|Discipline|prefix}}</NOWIKI>'''
+
[[Category:Utility templates]]
 
 
Example: <NOWIKI>{{DId|Architecture|uni}}</NOWIKI> produces
 
{{DId|Architecture|uni}}
 
 
 
Discipline can be any one of:
 
* Architecture, Arch (produces ''arch'' before the prefix)
 
* Art and Music, Art (produces ''art'' before the prefix)
 
* The Human Body, Human Body, Body (produces ''body'' before the prefix)
 
* Harmony, Harm (produces ''harmony'' before the prefix)
 
* Leadership, Lead (produces ''lead'' before the prefix)
 
* Thought, Tho (produces ''thought'' before the prefix)
 
* Worship, Wor (produces ''worship'' before the prefix)
 
 
 
----
 
</noinclude><includeonly>{{#switch:{{{1|None}}}|None=|{{{2|default}}}-}}{{#switch:{{{1|None}}}|Architecture|Arch=arch|Art and Music|Art=art|The Human Body|Human Body|Body=body|Harmony|Harm=harmony|Leadership|Lead=lead|Thought|Tho=thought|Worship|Wor=worship|}}</includeonly><noinclude>
 
[[Category: Template]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:48, 17 May 2021

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

Creates text suitable for added to page-jump links

Usage: {{DId|Discipline|prefix}}

Example: {{DId|Architecture|uni}} produces uni-arch

Discipline can be any one of:

  • Architecture, Arch (produces arch before the prefix)
  • Art and Music, Art (produces art before the prefix)
  • The Human Body, Human Body, Body (produces body before the prefix)
  • Harmony, Harm (produces harmony before the prefix)
  • Leadership, Lead (produces lead before the prefix)
  • Natural Philosopy, NatPhi (produces natphi before the prefix)
  • Thought, Tho (produces thought before the prefix)
  • Worship, Wor (produces worship before the prefix)

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