Template:Title: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(modied to reflext TitleReq adoption of duties)
Line 1: Line 1:
<includeonly>
<includeonly>
[[page type is::title| ]]
[[page type is::title| ]]
{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#if: {{{diff|}}} | {{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| [[title difficulty is::2000| ]]}}
{{ #if: {{{translation|}}} |
: Translation - {{{translation}}} }}{{ #switch: {{lc:{{{maleonly}}}}} |y|yes=
: [[title requirement::Must be male]][[title subcategory is::male| ]]}}{{ #switch: {{lc:{{{femaleonly}}}}} |y|yes=
: [[title requirement::Must be female]][[title subcategory is::female| ]]}}{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#if: {{{diff|}}} | {{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| [[title difficulty is::2000| ]]}}


{{{titlename|{{PAGENAME}}}}} is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category.
{{{titlename|{{PAGENAME}}}}} is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category.
Line 10: Line 7:


:<nowiki>{{</nowiki>title
:<nowiki>{{</nowiki>title
:|page=<nowiki>{{subst:PAGENAME}}</nowiki>
:|category=category
:|category=category
:|titlename=<span style="color:green;">title</span><sup style="color:blue;font-size:80%;">[1]</sup>
:|maleonly=<span style="color:orange;">yes/y/no/n</span><sup style="color:blue;font-size:80%;">[2]</sup>
:|femaleonly=<span style="color:orange;">yes/y/no/n</span><sup style="color:blue;font-size:80%;">[2]</sup>
:|translation=
:|subcat=cat1,cat2,cat3,cat4,etc.
:|subcat=cat1,cat2,cat3,cat4,etc.
:|diff=#
:}}
:}}
:<nowiki>{{TitleReq|<type>|<specific>|<specific2>}}</nowiki>
:<nowiki>{{TitleReq|<type>|<specific>|<specific2>}}</nowiki>
Line 22: Line 15:
:<nowiki>{{TitleReq|<type>|<specific>|<specific2>}}</nowiki>
:<nowiki>{{TitleReq|<type>|<specific>|<specific2>}}</nowiki>



* [1] -- Only need if pagename is different than title name (such as if there is a disambiguation)
* [2] -- Adding "yes" or "y" will activate this field; '''Warning''' bad things<sup>tm</sup> can happen if you mark both.
* category -- what category of title this is.
* 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.
* 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.
* 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.
* 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 [[Template_talk:title|talk]] page.
[[Category:Templates]]
* 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)
{{cat|Templates}}
{{cat|Templates}}
</noinclude>
</noinclude>

Revision as of 16:29, 3 November 2008

USAGE Information:

{{title
|category=category
|subcat=cat1,cat2,cat3,cat4,etc.
|diff=#
}}
{{TitleReq|<type>|<specific>|<specific2>}}
...
{{TitleReq|<type>|<specific>|<specific2>}}
  • 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.