Template:Title\Old: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (minor semantic support addition)
m (test)
Line 62: Line 62:
{{ #ifeq: {{PAGENAME}} | {{{page}}}
{{ #ifeq: {{PAGENAME}} | {{{page}}}
| <!-- NoInclude -->
| <!-- NoInclude -->
{{{titlename|{{{page}}}}}} is a [[:Category:Titles|title]] in the [[:Category:{{{category}}} Titles|{{{category}}}]] Category. {{
{{{titlename|{{{page}}}}}} is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category. {{
#ifeq: {{{category}}} | Survival 1 | [[Category:Survival Titles]] }}{{
#ifeq: {{{category}}} | Survival 1 | [[Category:Survival Titles]] }}{{
#ifeq: {{{category}}} | Survival 2 | [[Category:Survival Titles]] }}{{
#ifeq: {{{category}}} | Survival 2 | [[Category:Survival Titles]] }}{{
Line 75: Line 75:
#ifeq: {{{category}}} | Slings | [[Category:Combat Titles]] }}{{
#ifeq: {{{category}}} | Slings | [[Category:Combat Titles]] }}{{
#ifeq: {{{category}}} | Shield | [[Category:Combat Titles]] }}
#ifeq: {{{category}}} | Shield | [[Category:Combat Titles]] }}
[[Category:{{{category}}} Titles]][[Category:Titles]][[title category is::{{{category}}}| ]]{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|moon mage|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{lc:{{{category}}}}}| ]]|astrology=[[guild association is::moon mage| ]]}}
[[Category:{{{category}}} Titles]][[Category:Titles]]{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|moon mage|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{lc:{{{category}}}}}| ]]|astrology=[[guild association is::moon mage| ]]}}
}}
}}
|
|

Revision as of 17:34, 15 August 2008

USAGE Information:

{{title
   |page={{subst:PAGENAME}}
   |category=category
   |titlename=title[1]
   |maleonly=yes[2]
   |femaleonly=yes[2]
   |Req1
   |Req2
   ....
   |Req11
 }}
  • [1] -- Only need if pagename is different than title name (such as if there is a disambiguation)
  • [2] -- Any value entered here will mark these both as "yes"; Warning bad thingstm can happen if you enter both.
  • page -- will have to be manually changed if the page is ever moved.
  • category -- what category of title this is.
  • Req1 ... Req11 -- Each line (note, NO = sign) is the wikitext for that particular title requirement, if more requirements than detailed here are needed, just add them to the particular title page (as if more was allowed) and add a comment on this template's talk page.
  • LEAVE UNUSED (and unneeded) values OUT COMPLETELY. (titlename for example is only needed if the titlename is different than the page-name, such as in Disambiguation issues)