Bulbanews:Template guide: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
Line 45: Line 45:
** 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.
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}}

Revision as of 00:10, 11 September 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.
  • {{forum}} - use when linking to a forum article.
    • Example - {{forum|12345|page}} results in page
  • {{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}}/{{3v2}} - 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.
  • {{series}}/{{series2}} - use this template when linking to an anime series 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}}
  • {{u}} - use when linking to a user or their talk page.
    • Example - {{u|Argy}} becomes Argy
    • Example - {{u|Argy|talk=yes}} becomes Argy
  • {{v}}/{{v2}} - see {{game}}
  • {{wp}} - use this template for linking to an article on Wikipedia.

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
  • {{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

  • {{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

Other templates

  • {{rbs}} - use to make rounded borders with shadows.
    • Example - {{rbs|1em|#999|3px}} would insert border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; -khtml-border-radius: 1em; -icab-border-radius: 1em; -o-border-radius: 1em;
  • {{rborder}} - use to make rounded borders.
    • Example - {{rborder|1em|10px}} would insert border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; -khtml-border-radius: 1em; -icab-border-radius: 1em; -o-border-radius: 1em;
  • {{ud}} - use when making an update in an article.
    • Example - {{ud}}} becomes Update: 
  • {{tt}} - use when explaining something.
    • Example - {{tt|Pikachu|male}}} becomes Pikachu