Template:Title: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(fix capitalization of Guild association properties)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}{{#switch:{{{new}}}|y|yes|t|true=|{{obsolete|Some of these requirements have not been updated to 3.0. These requirements are italicized.}}}}[[page type is::title| ]]{{#if:{{#show:{{FULLPAGENAME}} |?missing}}|{{Incomplete}}|}}{{#if:{{#show:{{FULLPAGENAME}} |?title requirement}}||[[missing::TitleReq template use| ]][[missing::title requirement| ]]}}{{#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| ]][[Category:Survival titles|{{PAGENAME}}]] | Blunt | Ranged | Brawling | GenEdged | SpecEdged | Thrown | Pole | Slings | WeaponMaster | Shield=[[title category is::Category:Combat titles| ]][[Category:Combat titles|{{PAGENAME}}]] }}{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{{category}}}| ]]|moon mage|sect|astrology=[[guild association is::Moon Mage| ]]}}[[Category:{{{category}}} titles|{{PAGENAME}}]][[Category:titles|{{PAGENAME}}]]'''[[pretty name is::{{{titlename|{{PAGENAME}}}}}]]''' is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} titles|{{{category}}}]] Category.{{#if:{{{translation|}}}|<br />
<includeonly>{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}[[page type is::title| ]]{{#if:{{#show:{{FULLPAGENAME}} |?missing}}|{{Incomplete}}|}}{{#if:{{#show:{{FULLPAGENAME}} |?title requirement}}||[[missing::TitleReq template use| ]][[missing::title requirement| ]]}}{{#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| ]][[Category:Survival titles|{{PAGENAME}}]] | Blunt | Ranged | Brawling | GenEdged | SpecEdged | Thrown | Pole | Slings | WeaponMaster | Shield=[[title category is::Category:Combat titles| ]][[Category:Combat titles|{{PAGENAME}}]] }}{{#switch:{{lc:{{{category}}}}}|bard|barbarian|cleric|empath|paladin|ranger|trader|thief|warrior mage=[[guild association is::{{{category}}}| ]]|moon mage|sect|astrology=[[guild association is::Moon Mage| ]]}}[[Category:{{{category}}} titles|{{PAGENAME}}]][[Category:titles|{{PAGENAME}}]]'''[[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| ]]}})}}<br />
'''Translation:''' {{{translation}}} ({{#if:{{{language|}}}|[[title language is::{{{language}}}]]|''Unknown language''[[missing::title's language| ]]}})}}<br />
<br />
<br />
;Requirements:</includeonly><noinclude>USAGE Information:
;Requirements:</includeonly><noinclude>USAGE Information:


:<nowiki>{{</nowiki>Title
<pre>{{Title
:|new=yes/no
|new=yes/no
:|titlename=name
|titlename=name
:|translation=
|translation=
:|language=
|language=
:|category=
|category=
:|subcat=
|subcat=
:|diff=
|diff=
:}}
}}
:<nowiki>{{</nowiki>[[Template:TitleReq|TitleReq]]<nowiki>|<type>|<specific>|<specific2>}}</nowiki>
{{TitleReq|<type>|<specific>|<specific2>}}
:...
...
:<nowiki>{{TitleReq|<type>|<specific>|<specific2>}}</nowiki>
{{TitleReq|<type>|<specific>|<specific2>}}</pre>


* new -- Indicates whether or not the title has been updated to the 3.0 version.
* new -- Indicates whether or not the title has been updated to the 3.0 version.

Latest revision as of 07:01, 6 August 2021

USAGE Information:

{{Title
|new=yes/no
|titlename=name
|translation=
|language=
|category=
|subcat=
|diff=
}}
{{TitleReq|<type>|<specific>|<specific2>}}
...
{{TitleReq|<type>|<specific>|<specific2>}}
  • new -- Indicates whether or not the title has been updated to the 3.0 version.
  • 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.