Template:Title\Old: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(attempting to add semantic properties)
m (minor semantic support addition)
Line 9: Line 9:
| <!-- NoInclude -->
| <!-- NoInclude -->
{{ #if: {{{maleonly|}}} |
{{ #if: {{{maleonly|}}} |
: Must be male }}{{
: [[title requirement::Must be male]] }}{{
#if: {{{femaleonly|}}} |
#if: {{{femaleonly|}}} |
: Must be female }}{{
: [[title requirement::Must be female]] }}{{
#if: {{{1|}}} |
#if: {{{1|}}} |
: [[title requirement::{{{1}}}]] }}{{
: [[title requirement::{{{1}}}]] }}{{
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]]{{#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]][[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| ]]}}
}}
}}
|
|

Revision as of 16:30, 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)