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|an}} - use this template for linking to a character in the anime on Bulbapedia.
* {{template|color2}} - use this template for linking to an article on Bulbapedia.
** Example - <code><nowiki>{{an|May}}</nowiki></code> becomes {{an|May}}
** Example - <code><nowiki>{{color2|Pokémon|000}}</nowiki></code> becomes {{color2|Pokémon|000}}
* {{template|an}} - use this template for linking to a character in the anime on Bulbapedia.
* {{template|pcolor}} - use this template for linking to a specific Pokémon on Bulbapedia.
** Example - <code><nowiki>{{an|May}}</nowiki></code> becomes {{an|May}}
** Example - <code><nowiki>{{pcolor|Charizard|000}}</nowiki></code> becomes {{pcolor|Charizard|000}}
* {{template|an}} - use this template for linking to a character in the anime on Bulbapedia.
* {{template|wpcolor}} - use this template for linking to an article on Wikipedia.
** Example - <code><nowiki>{{an|May}}</nowiki></code> becomes {{an|May}}
** Example - <code><nowiki>{{wpcolor|Japan|000}}</nowiki></code> becomes {{wpcolor|Pokémon|000}}
* {{template|an}} - use this template for linking to a character in the anime on Bulbapedia.
 
** Example - <code><nowiki>{{an|May}}</nowiki></code> becomes {{an|May}}
== Image templates ==
* {{template|an}} - use this template for linking to a character in the anime on Bulbapedia.
* {{template|img}} - use this template for linking to an image from the Archives.
** Example - <code><nowiki>{{an|May}}</nowiki></code> becomes {{an|May}}
** Example - <code><nowiki>{{img|GSDS logo.png|HeartGold and SoulSilver logos}}</nowiki></code> becomes {{img|GSDS logo.png|HeartGold and SoulSilver logos}}
* {{template|an}} - use this template for linking to a character in the anime on Bulbapedia.
*** 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>{{an|May}}</nowiki></code> becomes {{an|May}}-->
{{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.
  • {{AP}} - use this template for linking to one of Ash's Pokémon on Bulbapedia.
    • Example - {{AP|Pikachu}} becomes Pikachu
  • {{an}} - use this template for linking to a character in the anime on Bulbapedia.
    • Example - {{an|May}} becomes May
  • {{bn}} - use this template for linking to an special page on Bulbanews.
  • {{bp}} - use this template for linking to an article on Bulbapedia.
  • {{ga}} - use this template for linking to an in-game character on Bulbapedia.
    • Example - {{ga|Gold}} becomes Gold
  • {{game}} or {{v}}/{{v2}} - use this template for linking to one to two video games on Bulbapedia.
  • {{game2}} - use this template for linking to three video games on Bulbapedia.
  • {{m}} - use this template for linking to a move on Bulbapedia.
  • {{m4}} - use this template for linking to a moveset on Bulbapedia.
  • {{p}} - use this template for linking to a specific Pokémon on Bulbapedia.
  • {{shiny}} - use this template for linking to the article Alternate coloration on Bulbapedia while using the word "shiny.
    • Example - {{shiny}} becomes Shiny
  • {{TCG}} - use this template for linking to a Trading Card Game set on Bulbapedia.
    • Example - {{TCG|Platinum}} becomes Platinum
  • {{template}} - use this template for linking to a template.
    • Example - {{template|bp}} becomes {{bp}}
  • {{v}}/{{v2}} - see {{game}}
  • {{wp}} - use this template for linking to an article on Wikipedia.

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
  • {{color2}} - use this template for linking to an article on Bulbapedia.
    • Example - {{color2|Pokémon|000}} becomes 000
  • {{pcolor}} - use this template for linking to a specific Pokémon on Bulbapedia.
    • Example - {{pcolor|Charizard|000}} becomes Charizard
  • {{wpcolor}} - use this template for linking to an article on Wikipedia.
    • Example - {{wpcolor|Japan|000}} becomes Pokémon

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

Template:Img

  • {{ms}} - use this template for linking to a mini-sprite of a Pokémon.
    • Example - {{ms|001}} becomes 001
  • {{sprite}} - use this template for linking to a sprite of a Pokémon.
    • Example - {{sprite|003}} becomes 003