Bulbanews:Template guide: Difference between revisions
From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
mNo edit summary |
m (→Link color templates: finding others, tb linked) |
||
Line 35: | Line 35: | ||
** 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 [[This week]] 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}} | ||
* {{template| | * {{template|color2}} - use this template for linking to an article on Bulbapedia. | ||
** Example - <code><nowiki>{{ | ** Example - <code><nowiki>{{color2|Pokémon|000}}</nowiki></code> becomes {{color2|Pokémon|000}} | ||
* {{template| | * {{template|pcolor}} - use this template for linking to a specific Pokémon on Bulbapedia. | ||
** Example - <code><nowiki>{{ | ** Example - <code><nowiki>{{pcolor|Charizard|000}}</nowiki></code> becomes {{pcolor|Charizard|000}} | ||
* {{template| | * {{template|wpcolor}} - use this template for linking to an article on Wikipedia. | ||
** Example - <code><nowiki>{{ | ** Example - <code><nowiki>{{wpcolor|Japan|000}}</nowiki></code> becomes {{wpcolor|Pokémon|000}} | ||
* {{template| | |||
** Example - <code><nowiki>{{ | == Image templates == | ||
* {{template| | * {{template|img}} - use this template for linking to an image from the Archives. | ||
** Example - <code><nowiki>{{ | ** Example - <code><nowiki>{{img|GSDS logo.png|HeartGold and SoulSilver logos}}</nowiki></code> becomes {{img|GSDS logo.png|HeartGold and SoulSilver logos}} | ||
* {{template| | *** You can also set where and how large the thumbnail will be: <code><nowiki>{{img|GSDS logo.png|HeartGold and SoulSilver logos|left|50px}}</nowiki></code> becomes | ||
** Example - <code><nowiki>{{ | {{img|GSDS logo.png|HeartGold and SoulSilver logos|left|50px}} | ||
* {{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}} | |||
* {{template|sprite}} - use this template for linking to a sprite of a Pokémon. | |||
** Example - <code><nowiki>{{sprite|003}}</nowiki></code> becomes {{sprite|003}} |
Revision as of 21:29, 14 May 2009
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 -
{{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}}
- 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 -
{{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 -
{{v}}
/{{v2}}
- see{{game}}
{{wp}}
- use this template for linking to an article on Wikipedia.- Example -
{{wp|Bulbasaur}}
becomes Bulbasaur
- Example -
Link color templates
Use these for the This week 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|Pokémon|000}}
becomes 000
- 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
{{img}}
- use this template for linking to an image from the Archives.- Example -
{{img|GSDS logo.png|HeartGold and SoulSilver logos}}
becomes Template:Img- You can also set where and how large the thumbnail will be:
{{img|GSDS logo.png|HeartGold and SoulSilver logos|left|50px}}
becomes
- You can also set where and how large the thumbnail will be:
- Example -
{{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.