Difference between revisions of "Template:Hero/Documentation"

From GodWiki
Jump to: navigation, search
m
m (added an example)
Line 24: Line 24:
 
* '''chronicles''' - a link to your hero's chronicles. You must code the link.
 
* '''chronicles''' - a link to your hero's chronicles. You must code the link.
  
Example: [[BlueStapler]]
+
Sample:
 +
 
 +
<pre>{{Hero |240px
 +
| avatar = Example.jpg
 +
| god = James
 +
| motto = From Godville!
 +
| gender = Male
 +
| personality = Good
 +
| level = 5
 +
| guild = James' Guild
 +
| rank = Intern
 +
| temple = June 5, 2014
 +
| pet = Solar Bear
 +
| petname = Bess
 +
| petlevel = 16
 +
| petres = 4
 +
| town = Last Resort
 +
| gold = 2,589
 +
| monster = Rocky Raccoon
 +
| rival = [[BlueStapler]]
 +
| chronicles = [http://godvillegame.com/gods/BlueStapler here]
 +
}}</pre>
 +
 
 +
Will appear as:
 +
 
 +
Note that if a parameter is not included, it will not be displayed.
 +
 
 +
{{Hero |240px
 +
| avatar = Example.jpg
 +
| god = James
 +
| motto = From Godville!
 +
| gender = Male
 +
| personality = Good
 +
| level = 5
 +
| guild = James' Guild
 +
| rank = Intern
 +
| temple = June 5, 2014
 +
| pet = Solar Bear
 +
| petname = Bess
 +
| petlevel = 16
 +
| petres = 4
 +
| town = Last Resort
 +
| gold = 2,589
 +
| monster = Rocky Raccoon
 +
| rival = [[BlueStapler]]
 +
| chronicles = [http://godvillegame.com/gods/BlueStapler here]
 +
}}

Revision as of 00:14, 29 August 2012

This template auto-categorises a page in the Heroes Category.

Parameters:

  • avatar - name of photograph file
  • god OR goddess - name of god OR goddess. This will automatically link to the god's wiki page.
  • personality - bit like alignment, you make it up
  • gender - your hero's gender
  • level - your hero's level
  • motto - your personal motto
  • guild - your guild. This will automatically link to your guild's wiki page.
  • rank - your rank in the guild (based on length of service; listed on the hero page in parenthesis after the guild name)
  • position - your position within the guild, given to you by the leaders of the guild (if applicable)
  • wonloss - your hero's wins and losses ratio
  • temple - date your hero completed his temple
  • pet - type of pet, e.g. solar bear. This will automatically link to the pet's wiki page.
  • petname - name of your hero's pet, e.g. Bess
  • petlevel - the level of your hero's pet
  • petres - number of times your pet has been resurrected, e.g. 3
  • town - your favorite town in the world of Godville. This will automatically link to the town's wiki page.
  • gold - the most gold your hero has ever had
  • monster - your hero's most hated monster. This will automatically link to the monster's wiki page.
  • rival - the name of your hero's personal rival
  • chronicles - a link to your hero's chronicles. You must code the link.

Sample:

{{Hero |240px
| avatar = Example.jpg
| god = James
| motto = From Godville!
| gender = Male
| personality = Good
| level = 5
| guild = James' Guild
| rank = Intern
| temple = June 5, 2014
| pet = Solar Bear
| petname = Bess
| petlevel = 16
| petres = 4
| town = Last Resort
| gold = 2,589
| monster = Rocky Raccoon
| rival = [[BlueStapler]]
| chronicles = [http://godvillegame.com/gods/BlueStapler here]
}}

Will appear as:

Note that if a parameter is not included, it will not be displayed.

Hero/Documentation
Example.jpg
Champion of the God: James
Personality: Good
Gender: Male
Level: 5
Motto: From Godville!
Guild: James' Guild
Guild Rank: Intern
Temple Completion Date: June 5, 2014
Pet Type: Solar Bear
Pet Name: Bess
Pet Level: 16
Pet Healing Count: 4
Favorite Town: Last Resort
Largest Ever Gold: 2,589
Most Hated Monster: Rocky Raccoon
Personal Rival: BlueStapler