Bulbanews:Template guide: Difference between revisions
(18 intermediate revisions by 4 users not shown) | |||
Line 12: | Line 12: | ||
* {{template|bp}} - use this template for linking to an article on Bulbapedia. | * {{template|bp}} - use this template for linking to an article on Bulbapedia. | ||
** Example - <code><nowiki>{{bp|Main Page}}</nowiki></code> becomes {{bp|Main Page}} | ** Example - <code><nowiki>{{bp|Main Page}}</nowiki></code> becomes {{bp|Main Page}} | ||
* {{template|forum}} - use when linking to a forum article. | |||
** Example - <code><nowiki>{{forum|12345|page}}</nowiki></code> results in {{forum|12345|page}} | |||
* {{template|ga}} - use this template for linking to an in-game character on Bulbapedia. | * {{template|ga}} - use this template for linking to an in-game character on Bulbapedia. | ||
** Example - <code><nowiki>{{ga|Gold}}</nowiki></code> becomes {{ga|Gold}} | ** Example - <code><nowiki>{{ga|Gold}}</nowiki></code> becomes {{ga|Gold}} | ||
Line 17: | Line 19: | ||
** Example - <code><nowiki>{{game|Platinum}}</nowiki></code> becomes {{game|Platinum}} | ** Example - <code><nowiki>{{game|Platinum}}</nowiki></code> becomes {{game|Platinum}} | ||
*** Example - <code><nowiki>{{game|HeartGold and SoulSilver|s}}</nowiki></code> becomes {{game|HeartGold and SoulSilver|s}} (does not work for {{template|v}}, use {{template|v2}} instead) | *** Example - <code><nowiki>{{game|HeartGold and SoulSilver|s}}</nowiki></code> becomes {{game|HeartGold and SoulSilver|s}} (does not work for {{template|v}}, use {{template|v2}} instead) | ||
* {{template|game2}} - use this template for linking to three video games on Bulbapedia. | * {{template|game2}}/{{template|3v2}} - use this template for linking to three video games on Bulbapedia. | ||
** Example - <code><nowiki>{{game2|Diamond|Pearl|Platinum}}</nowiki></code> becomes {{game2|Diamond|Pearl|Platinum}} | ** Example - <code><nowiki>{{game2|Diamond|Pearl|Platinum}}</nowiki></code> becomes {{game2|Diamond|Pearl|Platinum}} | ||
* {{template|m}} - use this template for linking to a move on Bulbapedia. | * {{template|m}} - use this template for linking to a move on Bulbapedia. | ||
Line 25: | Line 27: | ||
* {{template|p}} - use this template for linking to a specific Pokémon on Bulbapedia. | * {{template|p}} - use this template for linking to a specific Pokémon on Bulbapedia. | ||
** Example - <code><nowiki>{{p|Bulbasaur}}</nowiki></code> becomes {{p|Bulbasaur}} | ** Example - <code><nowiki>{{p|Bulbasaur}}</nowiki></code> becomes {{p|Bulbasaur}} | ||
* {{template|shiny}} - use this template for linking to the article {{bp|Alternate coloration}} on Bulbapedia while using the word "shiny. | * {{template|series}}/{{template|series2}} - use this template when linking to an anime series on Bulbapedia. | ||
** Example - <code><nowiki>{{series2|Diamond & Pearl}}</nowiki></code> becomes {{series2|Diamond & Pearl}} | |||
** Example - <code><nowiki>{{series|Diamond & Pearl}}</nowiki></code> becomes {{series|Diamond & Pearl}} | |||
* {{template|shiny}} - use this template for linking to the article {{bp|Alternate coloration}} on Bulbapedia while using the word "shiny". | |||
** Example - <code><nowiki>{{shiny}}</nowiki></code> becomes {{shiny}} | ** Example - <code><nowiki>{{shiny}}</nowiki></code> becomes {{shiny}} | ||
* {{template|TCG}} - use this template for linking to a Trading Card Game set on Bulbapedia. | * {{template|TCG}} - use this template for linking to a Trading Card Game set on Bulbapedia. | ||
Line 31: | Line 36: | ||
* {{template|template}} - use this template for linking to a template. | * {{template|template}} - use this template for linking to a template. | ||
** Example - <code><nowiki>{{template|bp}}</nowiki></code> becomes {{template|bp}} | ** Example - <code><nowiki>{{template|bp}}</nowiki></code> becomes {{template|bp}} | ||
* {{template|u}} - use when linking to a user or their talk page. | |||
** Example - <code><nowiki>{{u|Argy}}</nowiki></code> becomes {{u|Argy}} | |||
** Example - <code><nowiki>{{u|Argy|talk=yes}}</nowiki></code> becomes {{u|Argy|talk=yes}} | |||
* {{template|v}}/{{template|v2}} - see {{template|game}} | * {{template|v}}/{{template|v2}} - see {{template|game}} | ||
** Example - <code><nowiki>{{v|HeartGold}}</nowiki></code> becomes {{v|HeartGold}} | |||
** Example - <code><nowiki>{{v2|SoulSilver}}</nowiki></code> becomes {{v2|SoulSilver}} | |||
* {{template|wp}} - use this template for linking to an article on Wikipedia. | * {{template|wp}} - use this template for linking to an article on Wikipedia. | ||
** Example - <code><nowiki>{{wp|Bulbasaur}}</nowiki></code> becomes {{wp|Bulbasaur}} | ** Example - <code><nowiki>{{wp|Bulbasaur}}</nowiki></code> becomes {{wp|Bulbasaur}} | ||
=== Link color templates === | === Link color templates === | ||
Use these for the [[ | Use these for the [[Front page/Next on TV|Next on TV]] page. | ||
* {{template|ancolor}} - use this template for linking to a character in the anime on Bulbapedia. | * {{template|ancolor}} - use this template for linking to a character in the anime on Bulbapedia. | ||
** Example - <code><nowiki>{{ancolor|May|000}}</nowiki></code> becomes {{ancolor|May|000}} | ** Example - <code><nowiki>{{ancolor|May|000}}</nowiki></code> becomes {{ancolor|May|000}} | ||
Line 46: | Line 56: | ||
== Image templates == | == Image templates == | ||
* {{template|ms}} - use this template for linking to a mini-sprite of a Pokémon. | * {{template|ms}} - use this template for linking to a mini-sprite of a Pokémon. | ||
** Example - <code><nowiki>{{ms|001}}</nowiki></code> becomes {{ms|001}} | ** Example - <code><nowiki>{{ms|001}}</nowiki></code> becomes {{ms|001}} | ||
* {{template|sprite}} - use this template for linking to a sprite of a Pokémon. | * {{template|sprite}} - use this template for linking to a sprite of a Pokémon. | ||
** Example - <code><nowiki>{{sprite|003}}</nowiki></code> becomes {{sprite|003}} | ** Example - <code><nowiki>{{sprite|003}}</nowiki></code> becomes {{sprite|003}} | ||
* {{template| | |||
** Example - <code><nowiki>{{ | == Other templates == | ||
* {{template|rborder}} - use to make rounded borders. | |||
** Example - <code><nowiki>{{rborder|1em|10px}}</nowiki></code> would insert <code>{{rborder|1em|10px}}</code> | |||
* {{template|ud}} - use when making an update in an article. | |||
** Example - <code><nowiki>{{ud}}}</nowiki></code> becomes {{ud}} | |||
* {{template|tt}} - use when explaining something. | |||
** Example - <code><nowiki>{{tt|Pikachu|male}}}</nowiki></code> becomes {{tt|Pikachu|male}} | |||
[[Category:Bulbanews guides]] |
Latest revision as of 22:30, 3 June 2010
This template guide will show any writer how to use templates properly in an article. The templates are written in alphabetical order.
Link templates
{{a}}
- use this template for linking to an ability on Bulbapedia.- Example -
{{a|Rough Skin}}
becomes Rough Skin
- Example -
{{AP}}
- use this template for linking to one of Ash's Pokémon on Bulbapedia.- Example -
{{AP|Pikachu}}
becomes Pikachu
- Example -
{{an}}
- use this template for linking to a character in the anime on Bulbapedia.- Example -
{{an|May}}
becomes May
- Example -
{{bn}}
- use this template for linking to an special page on Bulbanews.- Example -
{{bn|Article submission}}
becomes Article submission
- Example -
{{bp}}
- use this template for linking to an article on Bulbapedia.- Example -
{{bp|Main Page}}
becomes Main Page
- Example -
{{forum}}
- use when linking to a forum article.- Example -
{{forum|12345|page}}
results in page
- Example -
{{ga}}
- use this template for linking to an in-game character on Bulbapedia.- Example -
{{ga|Gold}}
becomes Gold
- Example -
{{game}}
or{{v}}
/{{v2}}
- use this template for linking to one to two video games on Bulbapedia.- Example -
{{game|Platinum}}
becomes Pokémon Platinum- Example -
{{game|HeartGold and SoulSilver|s}}
becomes Pokémon HeartGold and SoulSilver (does not work for{{v}}
, use{{v2}}
instead)
- Example -
- Example -
{{game2}}
/{{3v2}}
- use this template for linking to three video games on Bulbapedia.- Example -
{{game2|Diamond|Pearl|Platinum}}
becomes Pokémon Diamond, Pearl and Platinum
- Example -
{{m}}
- use this template for linking to a move on Bulbapedia.- Example -
{{m|Solar Beam}}
becomes Solar Beam
- Example -
{{m4}}
- use this template for linking to a moveset on Bulbapedia.- Example -
{{m4|Ice Fang|Fire Fang|Thunder Fang|Harden}}
becomes Ice Fang, Fire Fang, Thunder Fang and Harden
- Example -
{{p}}
- use this template for linking to a specific Pokémon on Bulbapedia.- Example -
{{p|Bulbasaur}}
becomes Bulbasaur
- Example -
{{series}}
/{{series2}}
- use this template when linking to an anime series on Bulbapedia.- Example -
{{series2|Diamond & Pearl}}
becomes Diamond & Pearl - Example -
{{series|Diamond & Pearl}}
becomes Diamond & Pearl series
- Example -
{{shiny}}
- use this template for linking to the article Alternate coloration on Bulbapedia while using the word "shiny".- Example -
{{shiny}}
becomes Shiny
- Example -
{{TCG}}
- use this template for linking to a Trading Card Game set on Bulbapedia.- Example -
{{TCG|Platinum}}
becomes Platinum
- Example -
{{template}}
- use this template for linking to a template.- Example -
{{template|bp}}
becomes{{bp}}
- Example -
{{u}}
- use when linking to a user or their talk page.{{v}}
/{{v2}}
- see{{game}}
- Example -
{{v|HeartGold}}
becomes HeartGold Version - Example -
{{v2|SoulSilver}}
becomes SoulSilver
- Example -
{{wp}}
- use this template for linking to an article on Wikipedia.- Example -
{{wp|Bulbasaur}}
becomes Bulbasaur
- Example -
Link color templates
Use these for the Next on TV page.
{{ancolor}}
- use this template for linking to a character in the anime on Bulbapedia.- Example -
{{ancolor|May|000}}
becomes May
- Example -
{{color2}}
- use this template for linking to an article on Bulbapedia.- Example -
{{color2|000|Pokémon}}
becomes Pokémon
- Example -
{{pcolor}}
- use this template for linking to a specific Pokémon on Bulbapedia.- Example -
{{pcolor|Charizard|000}}
becomes Charizard
- Example -
{{wpcolor}}
- use this template for linking to an article on Wikipedia.- Example -
{{wpcolor|Japan|000}}
becomes Pokémon
- Example -
Image templates
{{ms}}
- use this template for linking to a mini-sprite of a Pokémon.{{sprite}}
- use this template for linking to a sprite of a Pokémon.
Other templates
{{rborder}}
- use to make rounded borders.- Example -
{{rborder|1em|10px}}
would insertborder-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; -khtml-border-radius: 1em; -icab-border-radius: 1em; -o-border-radius: 1em;
- Example -
{{ud}}
- use when making an update in an article.- Example -
{{ud}}}
becomes Update:
- Example -
{{tt}}
- use when explaining something.- Example -
{{tt|Pikachu|male}}}
becomes Pikachu
- Example -