Bulbanews:Template guide: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
m (→‎Link color templates: finding others, tb linked)
Line 39: Line 39:
** 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|color2}} - use this template for linking to an article on Bulbapedia.
* {{template|color2}} - use this template for linking to an article on Bulbapedia.
** Example - <code><nowiki>{{color2|Pokémon|000}}</nowiki></code> becomes {{color2|Pokémon|000}}
** Example - <code><nowiki>{{color2|000|Pokémon}}</nowiki></code> becomes {{color2|000|Pokémon}}
* {{template|pcolor}} - use this template for linking to a specific Pokémon on Bulbapedia.
* {{template|pcolor}} - use this template for linking to a specific Pokémon on Bulbapedia.
** Example - <code><nowiki>{{pcolor|Charizard|000}}</nowiki></code> becomes {{pcolor|Charizard|000}}
** Example - <code><nowiki>{{pcolor|Charizard|000}}</nowiki></code> becomes {{pcolor|Charizard|000}}

Revision as of 21:30, 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
      • 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