Template:Title: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
: Translation - {{{translation}}} }}{{ #switch: {{lc:{{{maleonly}}}}} |y|yes=
: Translation - {{{translation}}} }}{{ #switch: {{lc:{{{maleonly}}}}} |y|yes=
: [[title requirement::{{strip|s=Must be male}}]] }}{{ #switch: {{lc:{{{femaleonly}}}}} |y|yes=
: [[title requirement::{{strip|s=Must be male}}]] }}{{ #switch: {{lc:{{{femaleonly}}}}} |y|yes=
: [[title requirement::{{strip|s=Must be female}}]] }}{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#if: {{{diff|}}} | {{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| }}
: [[title requirement::{{strip|s=Must be female}}]] }}{{#if: {{{subcat|}}} | {{#arraymap:{{{subcat}}}|,|x|[[title subcategory is::x| ]]|}}|}}{{#if: {{{diff|}}} | {{#ifeq:{{{diff}}}| 0 | [[title difficulty is::2000| ]] | [[title difficulty is::{{{diff}}}| ]] }}| }}{{
#if: {{{1|}}} |

{{#if: {{{1|}}} |
: [[title requirement::{{{1}}}]] }}{{
: [[title requirement::{{strip|s={{{1}}} }}]] }}{{ #if: {{{2|}}} |
#if: {{{2|}}} |
: [[title requirement::{{strip|s={{{2}}} }}]] }}{{ #if: {{{3|}}} |
: [[title requirement::{{{2}}}]] }}{{
: [[title requirement::{{strip|s={{{3}}} }}]] }}{{ #if: {{{4|}}} |
#if: {{{3|}}} |
: [[title requirement::{{strip|s={{{4}}} }}]] }}{{ #if: {{{5|}}} |
: [[title requirement::{{{3}}}]] }}{{
: [[title requirement::{{strip|s={{{5}}} }}]] }}{{ #if: {{{6|}}} |
#if: {{{4|}}} |
: [[title requirement::{{strip|s={{{6}}} }}]] }}{{ #if: {{{7|}}} |
: [[title requirement::{{{4}}}]] }}{{
: [[title requirement::{{strip|s={{{7}}} }}]] }}{{ #if: {{{8|}}} |
#if: {{{5|}}} |
: [[title requirement::{{strip|s={{{8}}} }}]] }}{{ #if: {{{9|}}} |
: [[title requirement::{{{5}}}]] }}{{
: [[title requirement::{{strip|s={{{9}}} }}]] }}{{ #if: {{{10|}}} |
#if: {{{6|}}} |
: [[title requirement::{{strip|s={{{10}}} }}]] }}{{ #if: {{{11|}}} |
: [[title requirement::{{{6}}}]] }}{{
#if: {{{7|}}} |
: [[title requirement::{{strip|s={{{11}}} }}]] }}
: [[title requirement::{{{7}}}]] }}{{
#if: {{{8|}}} |
: [[title requirement::{{{8}}}]] }}{{
#if: {{{9|}}} |
: [[title requirement::{{{9}}}]] }}{{
#if: {{{10|}}} |
: [[title requirement::{{{10}}}]] }}{{
#if: {{{11|}}} |
: [[title requirement::{{{11}}}]] }}


{{{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.

Revision as of 17:39, 31 October 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)