Bulbanews:Template guide: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
Line 54: Line 54:
* {{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|ExPic}} - use this template for linking to a picture on an external website. '''Do not use in an article''' unless the Archives are down.
** Example - <code><nowiki>{{ExPic|http://i4.photobucket.com/albums/y101/Linkachu166/pokecharm.png}}</nowiki></code> becomes {{ExPic|http://i4.photobucket.com/albums/y101/Linkachu166/pokecharm.png}}

Revision as of 21:37, 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|000|Pokémon}} becomes Pokémon
  • {{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(see right)
      • You can also set where and how large the thumbnail will be: {{img|GSDS logo.png|HeartGold and SoulSilver logos|left|50px}} becomes (see left)

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
  • {{ExPic}} - use this template for linking to a picture on an external website. Do not use in an article unless the Archives are down.
    • Example - {{ExPic|http://i4.photobucket.com/albums/y101/Linkachu166/pokecharm.png}} becomes Template:ExPic