Template:Title: Difference between revisions
Jump to navigation
Jump to search
m (bugfix) |
(adapted to use Property:Pretty name is) |
||
Line 1: | Line 1: | ||
<includeonly>[[page type is::title| ]]{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#switch:{{{diff|}}}|0|=[[title difficulty is::2000| ]][[missing::calculated title difficulty| ]] | [[title difficulty is::{{{diff}}}| ]] }}{{#switch:{{{category}}} | Survival 1 | Survival 2 | Survival 3=[[title category is::Category:Survival Titles| ]]{{cat|Survival Titles}} | Blunt | Ranged | Brawling | GenEdged | SpecEdged | Thrown | Pole | Slings | WeaponMaster | Shield=[[title category is::Category:Combat Titles| ]]{{cat|Combat Titles}} }}{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{lc:{{{category}}}}}| ]]|moon mage|sect|astrology=[[guild association is::moon mage| ]]}}{{cat|{{{category}}} Titles}}{{cat|Titles}}'''[[ |
<includeonly>[[page type is::title| ]]{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#switch:{{{diff|}}}|0|=[[title difficulty is::2000| ]][[missing::calculated title difficulty| ]] | [[title difficulty is::{{{diff}}}| ]] }}{{#switch:{{{category}}} | Survival 1 | Survival 2 | Survival 3=[[title category is::Category:Survival Titles| ]]{{cat|Survival Titles}} | Blunt | Ranged | Brawling | GenEdged | SpecEdged | Thrown | Pole | Slings | WeaponMaster | Shield=[[title category is::Category:Combat Titles| ]]{{cat|Combat Titles}} }}{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{lc:{{{category}}}}}| ]]|moon mage|sect|astrology=[[guild association is::moon mage| ]]}}{{cat|{{{category}}} Titles}}{{cat|Titles}}'''[[pretty name is::{{{titlename|{{PAGENAME}}}}}]]''' is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category.{{#if:{{{translation|}}}|<br /> |
||
'''Translation:''' {{{translation}}} ({{#if:{{{language|}}}|[[title language is::{{{language}}}]]|''Unknown language''[[missing::title's language| ]]}})}}{{#if:{{#show:{{FULLPAGENAME}} |?title requirement}}||[[missing::TitleReq template use| ]][[missing::title requirement| ]]}}<br /> |
'''Translation:''' {{{translation}}} ({{#if:{{{language|}}}|[[title language is::{{{language}}}]]|''Unknown language''[[missing::title's language| ]]}})}}{{#if:{{#show:{{FULLPAGENAME}} |?title requirement}}||[[missing::TitleReq template use| ]][[missing::title requirement| ]]}}<br /> |
||
<br /> |
<br /> |
Revision as of 12:19, 5 February 2009
USAGE Information:
- {{Title
- |titlename=name
- |translation=
- |language=
- |category=
- |subcat=
- |diff=
- }}
- {{TitleReq|<type>|<specific>|<specific2>}}
- ...
- {{TitleReq|<type>|<specific>|<specific2>}}
- titlename -- The name of the title, if different from the page name.
- translation -- The translation of the name, if not in common.
- language -- The language the name is in, if not in common.
- category -- What category of title this is.
- subcat -- Manual inclusion into lesser categories, such as spellbook, necessary skills, etc. for correct semantic searches. Unless something odd happens, it should always define itself.
- diff -- Used to declare the relative difficulty to achieve the title. See Property:title difficulty is for information on how to determine the value.
- LEAVE UNUSED (and unneeded) values OUT COMPLETELY.