Template:Title\Old: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 16: Line 16:
#if: {{{subcat|}}} |
#if: {{{subcat|}}} |
{{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}}}{{
{{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}}}{{
#if: {{{diff|}}} | {{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| }}{{
#if: {{{diff|}}} |
{{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| }}{{
#if: {{{1|}}} |
#if: {{{1|}}} |
: [[title requirement::{{strip|s={{{1}}} }}]] }}{{
: [[title requirement::{{strip|s={{{1}}} }}]] }}{{
Line 69: Line 68:
| <!-- NoInclude -->
| <!-- NoInclude -->
{{{titlename|{{{page}}}}}} is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category.
{{{titlename|{{{page}}}}}} is a [[:Category:Titles|title]] in the [[title category is::Category:{{{category}}} Titles|{{{category}}}]] Category.
{{#switch:{{{category}}} | Survival 1 | Survival 2 | Survival 3=[[title category is::Category:Survival Titles| ]]{{cat|Survival Titles|{{PAGENAME}}]] | Blunt | Ranged | Brawling | GenEdged | SpecEdged | Thrown | Pole | Slings | 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}}
{{#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}}}}
|
|
<div class="boilerplate metadata" id="Error!" style="{{divstylered}}"><center><b>Error!</b></center>
<div class="boilerplate metadata" id="Error!" style="{{divstylered}}"><center><b>Error!</b></center>

Latest revision as of 14:55, 3 November 2008

USAGE Information:

{{title
   |page={{subst:PAGENAME}}
   |category=category
   |titlename=title[1]
   |maleonly=yes/y/no/n[2]
   |femaleonly=yes/y/no/n[2]
   |translation=
   |subcat=cat1,cat2,cat3,cat4,etc.
   |diff=
   |Req1
   |Req2
   ....
   |Req11
 }}
  • [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 thingstm can happen if you mark both.
  • page -- will have to be manually changed if the page is ever moved.
  • category -- what category of title this is.
  • subcat -- Defines lesser categories, such as spellbook, necessary skills, etc. for correct semantic searches.
  • diff -- Used to declare the relative difficulty to achieve the title. See Property:title difficulty is for information on how to determine the value.
  • 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)