Krytan Sentinel@legacy41692222 (talk | contribs) (New page: {{style and formatting}} An Armor by Profession index is an article that display the particular art types of a profession. ==General== A Profession index is usually named "Profession armo...) |
(No difference)
|
Latest revision as of 00:30, 13 December 2007
Style guides |
---|
|
An Armor by Profession index is an article that display the particular art types of a profession.
General[]
A Profession index is usually named "Profession armor" (for example Warrior armor) with the exception of Common armor, which is usable by all professions. The page always uses the profession's colors and icons it relates to.
Template[]
The thumbnails for each armor are styled into tables using the Template:Gallery index with the exception of Common armor, which uses Template:Common gallery index because of scaling issues. This is an example of the code using the Gallery index template
Example 1.[]
If you were submit this code into the sandbox it would create a lovely premade table with borders, a width and height with just enough room for two thumbnails.
{{gallery index}}
Result 1.[]
As you can see from this result, it did create a nice table but we need to tell the template which profession its for, what armor we need to link to, and the pictures we want to thumbnail.
[[{{{link1}}}|{{{label1}}}]] | |
---|---|
[[{{{link1}}}/Female|Female]] | [[{{{link1}}}/Male|Male]] |
[[{{{female1}}}|180x180px]] | [[{{{male1}}}|180x180px]] |
Example 2.[]
Ok so this time we are going to tell the template a few things;
- We will tell it to make link1 goto this page Elementalist Istani armor
- label1 will be the text we click to goto the link so we will make that simply Istani
- Lastly we have female1 and male1, which are the images we want to show.
{{Gallery index| link1=Elementalist Istani armor| label1=Istani| female1=Image:Elementalist Istani Armor F gray front.jpg| male1=Image:Elementalist Istani Armor M gray front.jpg| }}
Result 2.[]
Now that the information has been added, the template automatically makes links to all the right pages and resizes the large pictures into thumbnails.
Istani | |
---|---|
Female | Male |
Example 3.[]
If you needed to add more than one armor to the template you can add a link2 and label2 or link3 and label3 like this. This is where naming new images and pages correctly becomes very important because they can be used by several lines of code across several articles.
{{Gallery index| link1=Elementalist Istani armor| label1=Istani| female1=Image:Elementalist Istani Armor F gray front.jpg| male1=Image:Elementalist Istani Armor M gray front.jpg| link2=Elementalist Sunspear armor| label2=Sunspear| female2=Image:Elementalist Sunspear Armor F gray front.jpg| male2=Image:Elementalist Sunspear Armor M gray front.jpg| }}
Result 3.[]
This is the result from the code above. As well as adding more armors accross the page, repeat the code to begin a second or third table underneath
Istani | Sunspear | ||
---|---|---|---|
Female | Male | Female | Male |