Template:16players/Documentation

From GodWiki
Jump to: navigation, search

Usage

Template description: This template generates a generic 16-player tournament bracket.

Template code

{{16players
| RD1         = 
| RD2         = 
| RD3         = 
| RD4         = 
| group1      = 
| group2      = 
| group3      = 
| subgroup1   = 
| subgroup2   = 
| subgroup3   = 
| subgroup4   = 
| god-width  = 

| RD1-level01  =
| RD1-god01  =
| RD1-hero01 =
| RD1-hero02 =
| RD1-level02  =
| RD1-god02  =
| RD1-hero02 =

| RD1-level03  =
| RD1-god03  =
| RD1-hero03 =
| RD1-level04  =
| RD1-god04  =
| RD1-hero04 =

| RD1-level05  =
| RD1-god05  =
| RD1-hero05 =
| RD1-level06  =
| RD1-god06  =
| RD1-hero06 =

| RD1-level07  =
| RD1-god07  =
| RD1-hero07 =
| RD1-level08  =
| RD1-god08  =
| RD1-hero08 =

| RD1-level09  =
| RD1-god09  =
| RD1-hero09 =
| RD1-level10  =
| RD1-god10  =
| RD1-hero10 =

| RD1-level11  =
| RD1-god11  =
| RD1-hero11 =
| RD1-level12  =
| RD1-god12  =
| RD1-hero12 =

| RD1-level13  =
| RD1-god13  =
| RD1-hero13 =
| RD1-level14  =
| RD1-god14  =
| RD1-hero14 =

| RD1-level15  =
| RD1-god15  =
| RD1-hero15 =
| RD1-level16  =
| RD1-god16  =
| RD1-hero16 =

| RD2-level01  =
| RD2-god01  =
| RD2-hero01 =
| RD2-level02  =
| RD2-god02  =
| RD2-hero02 =

| RD2-level03  =
| RD2-god03  =
| RD2-hero03 =
| RD2-level04  =
| RD2-god04  =
| RD2-hero04 =

| RD2-level05  =
| RD2-god05  =
| RD2-hero05 =
| RD2-level06  =
| RD2-god06  =
| RD2-hero06 =

| RD2-level07  =
| RD2-god07  =
| RD2-hero07 =
| RD2-level08  =
| RD2-god08  =
| RD2-hero08 =

| RD3-level01  =
| RD3-god01  =
| RD3-hero01 =
| RD3-level02  =
| RD3-god02  =
| RD3-hero02 =

| RD3-level03  =
| RD3-god03  =
| RD3-hero03 =
| RD3-level04  =
| RD3-god04  =
| RD3-hero04 =

| RD4-level01  =
| RD4-god01  =
| RD4-hero01 =
| RD4-level02  =
| RD4-god02  =
| RD4-hero02 =
}}

It is reccomended that you do not copy this code unless you are using ALL parameters (or they will not take their default settings). Instead you should copy the code given in the Example section below and add any extra parameters you want from the code above.

Template parameters

  • RD1, RD2, RD3, RD4 — [OPTIONAL] The names of each respective round ('RD' is an abbreviation of 'Round'). Defaults to "First round", "Second round", "Semifinals", and "Finals", respectively.
  • group1, group2 — [OPTIONAL] The name of the first group of eight gods, and the name of the last group of eight, respectively.
  • subgroup1, subgroup2, subgroup3, subgroup4 — [OPTIONAL] The name of the first group of four gods, the name of the second group of four, etc.
  • god-width — [OPTIONAL] allows the width of the name field to be changed.

The Competitors

You should be able to figure out how the format works; all the other parameters are grouped i.e. there are three parameters you need to fill in for each competitor. the letters RD are in the name of each parameter and is the round that the parameter is a part of (there are 4 rounds).

  • level - the level of the god's hero.
  • god - name of the god (does not automatically place the {{god}} template around it because some will have medals and some won't so do it yourself).
  • hero - name of the god's hero (the fool actually doing the fighting).

For example,

| RD1-level08  = 62
| RD1-god08  = Spode
| RD1-hero08 = Hrun


Example

{{16players

| RD1-level01  = 62
| RD1-god01  = Spode
| RD1-hero01 = Hrun
| RD1-hero02 = Alex The Average
| RD1-level02  = 69
| RD1-god02  = Gorgeous George

| RD1-level03  = 55
| RD1-god03  = BlueStapler
| RD1-hero03 = BlueStapler
| RD1-level04  = 68
| RD1-god04  = Godville
| RD1-hero04 = Godville's Admin

| RD1-level05  =
| RD1-god05  =
| RD1-hero05 =
| RD1-level06  =
| RD1-god06  =
| RD1-hero06 =

| RD1-level07  =
| RD1-god07  =
| RD1-hero07 =
| RD1-level08  =
| RD1-god08  =
| RD1-hero08 =

| RD1-level09  =
| RD1-god09  =
| RD1-hero09 =
| RD1-level10  =
| RD1-god10  =
| RD1-hero10 =

| RD1-level11  =
| RD1-god11  =
| RD1-hero11 =
| RD1-level12  =
| RD1-god12  =
| RD1-hero12 =

| RD1-level13  =
| RD1-god13  =
| RD1-hero13 =
| RD1-level14  =
| RD1-god14  =
| RD1-hero14 =

| RD1-level15  =
| RD1-god15  =
| RD1-hero15 =
| RD1-level16  =
| RD1-god16  =
| RD1-hero16 =

| RD2-level01  = 62
| RD2-god01  = Spode
| RD2-hero01 = Hrun
| RD2-level02  = 68
| RD2-god02  = Godville
| RD2-hero02 = Godville's Admin

| RD2-level03  =
| RD2-god03  =
| RD2-hero03 =
| RD2-level04  =
| RD2-god04  =
| RD2-hero04 =

| RD2-level05  =
| RD2-god05  =
| RD2-hero05 =
| RD2-level06  =
| RD2-god06  =
| RD2-hero06 =

| RD2-level07  =
| RD2-god07  =
| RD2-hero07 =
| RD2-level08  =
| RD2-god08  =
| RD2-hero08 =

| RD3-level01  =
| RD3-god01  =
| RD3-hero01 =
| RD3-level02  =
| RD3-god02  =
| RD3-hero02 =

| RD3-level03  =
| RD3-god03  =
| RD3-hero03 =
| RD3-level04  =
| RD3-god04  =
| RD3-hero04 =

| RD4-level01  =
| RD4-god01  =
| RD4-hero01 =
| RD4-level02  =
| RD4-god02  =
| RD4-hero02 =
}}

appears as

  First round Second round Semifinals Finals
                                     
62  Spode Hrun  
69  Gorgeous George Alex The Average  
  62  Spode Hrun  
 
  68  Godville Godville's Admin  
55  BlueStapler BlueStapler
68  Godville Godville's Admin