FANDOM


m (details)
m (added missing crew)
 
(36 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
|style1 = text-align:center;<!---- Some links are duplicated up here because they're important; leave them duplicated for extra visibility----->
 
|style1 = text-align:center;<!---- Some links are duplicated up here because they're important; leave them duplicated for extra visibility----->
 
|group1 =
 
|group1 =
* {{plink|Captain's log}}
+
* {{plink|Captain's Log}}
 
* [[Player-owned port/Standard voyages|Voyages]]
 
* [[Player-owned port/Standard voyages|Voyages]]
 
* [[Player-owned port/Special voyages|Special voyages]]
 
* [[Player-owned port/Special voyages|Special voyages]]
* [[Player-owned port/Captains and Crew|Crew]]
+
* [[Player-owned port/Captains and crew|Crew]]
 
* [[Player-owned port/Interfaces|Interface]]
 
* [[Player-owned port/Interfaces|Interface]]
 
* [[Player-owned port/Random events|Random events]]
 
* [[Player-owned port/Random events|Random events]]
 
* [[Player-owned port/Strategies|Strategy]]
 
* [[Player-owned port/Strategies|Strategy]]
 
* [[Player-owned port/Upgrades|Upgrades]]
 
* [[Player-owned port/Upgrades|Upgrades]]
  +
* [[Runedate]]
 
|gtype2 = subgroup
 
|gtype2 = subgroup
 
|group2 =
 
|group2 =
Line 17: Line 18:
 
|collapsible = yes
 
|collapsible = yes
 
|title = Area
 
|title = Area
|gtitle1 = Regions
+
|gtitle1 = [[Wushanko Isles]] regions
 
|group1 =
 
|group1 =
 
* [[The Arc]]
 
* [[The Arc]]
Line 30: Line 31:
 
|group2 =
 
|group2 =
 
* [[Player-owned port/Ship names|Names]]
 
* [[Player-owned port/Ship names|Names]]
* [[Player-owned port/Ship updates|Updates]]
+
* [[Player-owned port/Ports updates|Updates]]
 
* [[Player-owned port/Ship upgrades|Upgrades]]
 
* [[Player-owned port/Ship upgrades|Upgrades]]
  +
* [[Flying Ship of Ozmo]]
  +
* [[Ship That Hovers on Water]]
  +
* [[Green Star]]
  +
|gtitle3 = Miscellaneous
  +
|group3 =
  +
* [[Fenghuang Feathers]]
  +
* [[Guardians of the World]]
  +
|gtitle4 = Transcripts
  +
|group4 =
  +
* [[Transcript:Player-owned ports|Player-owned ports]]
  +
* [[Transcript:Player-owned port/Random events|Random events]]
  +
* [[Transcript:Player-owned port/Special voyages|Special voyages]]
 
}}
 
}}
 
|gtype3 = subgroup
 
|gtype3 = subgroup
Line 62: Line 75:
 
* {{chatl|The Memory}}
 
* {{chatl|The Memory}}
 
* {{chatl|The Tengu}}
 
* {{chatl|The Tengu}}
|gtitle3 = Other
+
|gtitle3 = Gu Masters
 
|group3 =
 
|group3 =
  +
* [[Gu Grandmaster Tama]]
  +
* [[Gu Grandmaster Grahf]]
  +
* [[Gu Grandmaster Mai Pei]]
  +
* [[Gu Grandmaster So Me]]
  +
* [[Gu Grandmaster Dim Mak]]
  +
* [[Gu Master Sakura]]
  +
* [[Gu Master Shitto]]
  +
* [[Gu Master Taida]]
  +
* [[Gu Master Gekido]]
  +
* [[Gu Master Nikuyoku]]
  +
* [[Gu Master Kouman]]
  +
* [[Gu Master Donyoku]]
  +
* [[Gu Master Boushoku]]
  +
|gtitle4 = Guardians of the East
  +
|group4 =
  +
* [[Seiryu the Azure Serpent]]
  +
* [[Byakko the White Tiger]]
  +
* [[Suzaku the Vermillion Bird]]
  +
* [[Genbu the Black Tortoise]]
  +
|gtitle5 = Creatures
  +
|group5 =
  +
* [[Sea Lizard]] <sup>([[Rock-clinging Sea Lizard|Rock-clinging]] {{*}} [[Fire-spitting Sea Lizard|Fire-spitting]])</sup>
  +
* [[One-eyed Sea Serpent]]
  +
* [[Cave Giant]]
  +
* [[Mountain Giant]]
  +
* [[River Giant]] <sup>([[Mujia]])</sup>
  +
* [[Lighthouse Giant]]
  +
* [[Sea Giant]] <sup>([[Umibozu]])</sup>
  +
* [[Hydra (player-owned port)|Hydra]] <sup>([[Hee-ra]])</sup>
  +
* [[Floating Starfish]]
  +
* [[Flying Squid]]
  +
* [[Swarming Ray]] <sup>([[Lightning Ray]])</sup>
  +
* [[Narwhal]]
  +
* [[Whale (player-owned port)|Whale]]
  +
* [[Reef Shark]]
  +
* [[Giant Shark]]
  +
* [[Land Shark]]
  +
* [[Chimeric Walking Fish]]
  +
* [[Two-headed Razor Snake]]
  +
* [[Giant Turtle]]
  +
* [[Flying Turtle]]
  +
* [[Stone Tortoise]] <sup>([[Bixi]])</sup>
  +
* [[Barbed-beaked Flycatcher]]
  +
* [[Terracotta nymph]]
  +
* [[Bamboo Golem]]
  +
* [[Exploding Golem]]
  +
* [[Slate Golem]]
  +
* [[Cherrywood Golem]]
  +
* [[Stainless Steel Golem]]
  +
* [[Jade Golem]]
  +
* [[Terracotta Golem]] <sup>([[The Terracotta Men]])</sup>
  +
* [[Azure Golem]] <sup>([[Obsidian Weapon]])</sup>
  +
* [[Sea Bear]]
  +
* [[Pegasus]] <sup>([[Longma]])</sup>
  +
* [[Mountain Elephant]]
  +
* [[White Snake]]
  +
* [[Leviathan]] <sup>([[Jade Leviathan]])</sup>
  +
* [[Kraken]] <sup>([[Carapace Kraken]])</sup>
  +
* [[Giant Centipede]] <sup>([[Con Rit]])</sup>
  +
* [[Shapeshifter (player-owned port)|Shapeshifter]] <sup>([[Habaek]])</sup>
  +
* [[Sky Dragon]] <sup>([[Tianlong]])</sup>
  +
* [[The Deep Plunderer]]
  +
* [[Skingliders]]
  +
* [[Gigas]]
  +
* [[Armadillo]] <sup>([[Lazing Armadillo]])</sup>
  +
* [[Not Beast]]
  +
* [[Terrapin]]
  +
* [[Yoma]]
  +
* [[Koi]]
  +
* [[Tusked Lion]]
  +
* [[Grey Tiger]]
  +
* [[Bladewing]]
  +
* [[The Clinging Sands]]
  +
* [[Great Toad]]
  +
* [[Octopus (player-owned port)|Octopus]] <sup>([[Spinning Octopus]] {{*}} [[Devouring Octopus]])</sup>
  +
* [[Jellyfish (player-owned port)|Jellyfish]] <sup>([[Luminous Jellyfish]])</sup>
  +
* [[Ronin Ogre]]
  +
* [[Oni]] <sup>([[Jigoku]])</sup>
  +
* [[Snapper Drake]]
  +
* [[Biting Lotus]]
  +
* [[Chimera]]
  +
|gtitle6 = [[Player-owned port/Captains and crew|Crew]]
  +
|group6 =
  +
* [[Ardougne Shopkeeper]]
  +
* [[Blazing Lantern Clansman]]
  +
* [[Bounty Hunter (Player-owned port)|Bounty Hunter]]
  +
* [[Brimhaven Pirate]]
  +
* [[Bureaucrat]]
  +
* [[Card Sharp]]
  +
* [[Cartographer]]
  +
* [[Catherby Fisherman]]
  +
* [[Crows' Nest Sniper]]
  +
* [[Cyclops (Player-owned port)|Cyclops]]
  +
* [[Dwarven Engineer (Player-owned port)|Dwarven Engineer]]
  +
* [[Eastern Bannerman]]
  +
* [[Eastern Guide]]
  +
* [[Eastern Musketeer]]
  +
* [[Eastern Overseer]]
  +
* [[Explosives Expert]]
  +
* [[Farcrier]]
  +
* [[Feral Chimera]]
  +
* [[Ferocious Tiger-Rider]]
  +
* [[Firework Expert]]
  +
* [[Firework Maniac]]
  +
* [[Fireworks Enthusiast]]
  +
* [[First Mate (Player-owned port)|First Mate]]
  +
* [[Golden Katana Clansman]]
  +
* [[Gu Bodyguard]]
  +
* [[Harem of Fortune Tellers]]
  +
* [[Jade Merchant]]
  +
* [[Judge of Dice]]
  +
* [[Kharidian Exile]]
  +
* [[Merchant (Player-owned port)|Merchant]]
  +
* [[Oxhead and Horseface]]
  +
* [[Palmist]]
  +
* [[Party Animal]]
  +
* [[Pearl Diver]]
  +
* [[Reef Rider]]
  +
* [[Sacrificial Soothsayer]]
  +
* [[Sea-fort Guard]]
  +
* [[Sea Dog]]
  +
* [[Sea Witch]]
  +
* [[Siren Whalerider]]
  +
* [[Smuggler (Player-owned port)|Smuggler]]
  +
* [[Soothsayer]]
  +
* [[Stargazer]]
  +
* [[Storm Riders Clansman]]
  +
* [[Stowaway]]
  +
* [[Terracotta Merchant]]
  +
* [[Trader (Player-owned port)|Trader]]
  +
* [[Travelling Band]]
  +
* [[Travelling Drunk]]
  +
* [[Varrock Chef]]
  +
* [[Wisp (Player-owned port)|Wisp]]
  +
* [[Zhonghu Player]]
  +
|gtitle7 = Other
  +
|group7 =
 
* {{chatl|Warehouse worker}}
 
* {{chatl|Warehouse worker}}
 
* {{chatl|Death Lotus assassin|pic=Death Lotus assassin female chathead}}
 
* {{chatl|Death Lotus assassin|pic=Death Lotus assassin female chathead}}
 
* [[Port staff]]
 
* [[Port staff]]
* [[Player-owned port/Captains and Crew|Crew]]
+
* [[Player-owned port/Captains and crew|Crew]]
 
* [[Captain (Player-owned port)|Captain]]
 
* [[Captain (Player-owned port)|Captain]]
 
* [[Patron]]
 
* [[Patron]]
Line 89: Line 239:
 
* {{chatl|Hearthen|pic=Merchant chathead}}
 
* {{chatl|Hearthen|pic=Merchant chathead}}
 
* [[Siren]]s
 
* [[Siren]]s
  +
* [[Cyclops (Cyclosis)|Cyclops]]
 
* [[Purists]]
 
* [[Purists]]
  +
* [[Mermaid]]
 
* [[Sea orphan]]s
 
* [[Sea orphan]]s
 
* [[Sky orphan]]s
 
* [[Sky orphan]]s
 
* {{chatl|White Knights|pic=White Knight chathead}}
 
* {{chatl|White Knights|pic=White Knight chathead}}
 
* [[Eastern soldier]]
 
* [[Eastern soldier]]
|group4 = ''<sup>*</sup> Only during the [[Mega May]] event.''
+
* [[Claymistress]]
  +
* [[Lost Men]]
  +
* [[The Skulls]]
  +
* [[The Pins]]
  +
* [[Lanjahn the Slaver]]
  +
|group8 = ''<sup>*</sup> Only during the [[Mega May]] event.''
 
}}
 
}}
 
|gtype4 = subgroup
 
|gtype4 = subgroup
Line 112: Line 264:
 
* {{plinksized|Terracotta|pic=Terracotta icon|size=25}}
 
* {{plinksized|Terracotta|pic=Terracotta icon|size=25}}
 
* {{plinksized|Azure|pic=Azure icon|size=25}}
 
* {{plinksized|Azure|pic=Azure icon|size=25}}
  +
* {{plink|Ports resource crate}}
 
|gtitle2 = [[Trade goods]]
 
|gtitle2 = [[Trade goods]]
 
|group2 =
 
|group2 =
Line 170: Line 323:
 
* {{plink|Memory-crushing scrimshaw|txt=Memory-crushing}} <sup>([[Superior memory-crushing scrimshaw|Superior]])</sup>
 
* {{plink|Memory-crushing scrimshaw|txt=Memory-crushing}} <sup>([[Superior memory-crushing scrimshaw|Superior]])</sup>
 
* {{plink|Energy-gathering scrimshaw|txt=Energy-gathering}} <sup>([[Superior energy-gathering scrimshaw|Superior]])</sup>
 
* {{plink|Energy-gathering scrimshaw|txt=Energy-gathering}} <sup>([[Superior energy-gathering scrimshaw|Superior]])</sup>
  +
* {{plink|Superior scrimshaw of aggression}}
  +
* {{plink|Superior scrimshaw of corruption}}
  +
* {{plink|Superior scrimshaw of sacrifice}}
 
|gtitle5 = [[Gu outfit]]
 
|gtitle5 = [[Gu outfit]]
 
|group5 =
 
|group5 =
Line 180: Line 336:
 
* [[The Cabin Boy/Girl]]
 
* [[The Cabin Boy/Girl]]
 
* [[Bo'sun]]
 
* [[Bo'sun]]
* [[First Mate (title)|First Mate]]
+
* [[First Mate]]
 
* [[Cap'n]]
 
* [[Cap'n]]
 
* [[Commodore]]
 
* [[Commodore]]
Line 189: Line 345:
 
|group7 =
 
|group7 =
 
* {{plink|Rocktail soup}}
 
* {{plink|Rocktail soup}}
* {{plink|Leviathan ring}} <sup>([[Superior Leviathan ring|Superior]])</sup>
+
* {{plink|Sailfish soup}}
  +
* {{plink|Leviathan ring}} <sup>([[Superior leviathan ring|Superior]])</sup>
 
* {{plink|Reefwalker's cape}} <sup>([[Superior reefwalker's cape|Superior]])</sup>
 
* {{plink|Reefwalker's cape}} <sup>([[Superior reefwalker's cape|Superior]])</sup>
 
* [[Eastern scroll]]
 
* [[Eastern scroll]]
 
* {{plink|Tengu tsuba}}
 
* {{plink|Tengu tsuba}}
 
* {{plink|Gemstone kaseki}}
 
* {{plink|Gemstone kaseki}}
* {{plink|Worldbearer ring}}
+
* {{plink|Worldbearer ring (1)}}
 
* {{plink|Gift of Gu}}
 
* {{plink|Gift of Gu}}
 
* {{plink|Oak casket}}
 
* {{plink|Oak casket}}
 
* {{plink|Teak casket}}
 
* {{plink|Teak casket}}
 
* {{plink|Mahogany casket}}
 
* {{plink|Mahogany casket}}
  +
* {{plink|Treasure chest (Player-owned port)|txt=Treasure chest}}
  +
}}
  +
|gtype5 = subgroup
  +
|group5 =
  +
{{Navbox
  +
|collapsible = yes
  +
|title = Experience lamps from Meg
  +
|gtitle1 = Small
  +
|group1 =
  +
* {{plink|Small XP lamp (Agility) (Meg)|txt=Agility}}
  +
* {{plink|Small XP lamp (Construction) (Meg)|txt=Construction}}
  +
* {{plink|Small XP lamp (Cooking) (Meg)|txt=Cooking}}
  +
* {{plink|Small XP lamp (Divination) (Meg)|txt=Divination}}
  +
* {{plink|Small XP lamp (Dungeoneering) (Meg)|txt=Dungeoneering}}
  +
* {{plink|Small XP lamp (Fishing) (Meg)|txt=Fishing}}
  +
* {{plink|Small XP lamp (Herblore) (Meg)|txt=Herblore}}
  +
* {{plink|Small XP lamp (Hunter) (Meg)|txt=Hunter}}
  +
* {{plink|Small XP lamp (Prayer) (Meg)|txt=Prayer}}
  +
* {{plink|Small XP lamp (Runecrafting) (Meg)|txt=Runecrafting}}
  +
* {{plink|Small XP lamp (Slayer) (Meg)|txt=Slayer}}
  +
* {{plink|Small XP lamp (Thieving) (Meg)|txt=Thieving}}
  +
|gtitle2 = Medium
  +
|group2 =
  +
* {{plink|Medium XP lamp (Agility) (Meg)|txt=Agility}}
  +
* {{plink|Medium XP lamp (Construction) (Meg)|txt=Construction}}
  +
* {{plink|Medium XP lamp (Cooking) (Meg)|txt=Cooking}}
  +
* {{plink|Medium XP lamp (Divination) (Meg)|txt=Divination}}
  +
* {{plink|Medium XP lamp (Dungeoneering) (Meg)|txt=Dungeoneering}}
  +
* {{plink|Medium XP lamp (Fishing) (Meg)|txt=Fishing}}
  +
* {{plink|Medium XP lamp (Herblore) (Meg)|txt=Herblore}}
  +
* {{plink|Medium XP lamp (Hunter) (Meg)|txt=Hunter}}
  +
* {{plink|Medium XP lamp (Prayer) (Meg)|txt=Prayer}}
  +
* {{plink|Medium XP lamp (Runecrafting) (Meg)|txt=Runecrafting}}
  +
* {{plink|Medium XP lamp (Slayer) (Meg)|txt=Slayer}}
  +
* {{plink|Medium XP lamp (Thieving) (Meg)|txt=Thieving}}
  +
|gtitle3 = Large
  +
|group3 =
  +
* {{plink|Large XP lamp (Agility) (Meg)|txt=Agility}}
  +
* {{plink|Large XP lamp (Construction) (Meg)|txt=Construction}}
  +
* {{plink|Large XP lamp (Cooking) (Meg)|txt=Cooking}}
  +
* {{plink|Large XP lamp (Divination) (Meg)|txt=Divination}}
  +
* {{plink|Large XP lamp (Dungeoneering) (Meg)|txt=Dungeoneering}}
  +
* {{plink|Large XP lamp (Fishing) (Meg)|txt=Fishing}}
  +
* {{plink|Large XP lamp (Herblore) (Meg)|txt=Herblore}}
  +
* {{plink|Large XP lamp (Hunter) (Meg)|txt=Hunter}}
  +
* {{plink|Large XP lamp (Prayer) (Meg)|txt=Prayer}}
  +
* {{plink|Large XP lamp (Runecrafting) (Meg)|txt=Runecrafting}}
  +
* {{plink|Large XP lamp (Slayer) (Meg)|txt=Slayer}}
  +
* {{plink|Large XP lamp (Thieving) (Meg)|txt=Thieving}}
  +
|gtitle4 = Huge
  +
|group4 =
  +
* {{plink|Huge XP lamp (Agility) (Meg)|txt=Agility}}
  +
* {{plink|Huge XP lamp (Construction) (Meg)|txt=Construction}}
  +
* {{plink|Huge XP lamp (Cooking) (Meg)|txt=Cooking}}
  +
* {{plink|Huge XP lamp (Divination) (Meg)|txt=Divination}}
  +
* {{plink|Huge XP lamp (Dungeoneering) (Meg)|txt=Dungeoneering}}
  +
* {{plink|Huge XP lamp (Fishing) (Meg)|txt=Fishing}}
  +
* {{plink|Huge XP lamp (Herblore) (Meg)|txt=Herblore}}
  +
* {{plink|Huge XP lamp (Hunter) (Meg)|txt=Hunter}}
  +
* {{plink|Huge XP lamp (Prayer) (Meg)|txt=Prayer}}
  +
* {{plink|Huge XP lamp (Runecrafting) (Meg)|txt=Runecrafting}}
  +
* {{plink|Huge XP lamp (Slayer) (Meg)|txt=Slayer}}
  +
* {{plink|Huge XP lamp (Thieving) (Meg)|txt=Thieving}}
 
}}
 
}}
}}{{Ctg|Player-owned ports}}{{Template only|[[Category:Minigame templates]]}}
+
}}{{Ctg|Player-owned ports|Experience items::ifmatches[XP lamp]|Experience lamps::ifmatches[XP lamp]}}{{Template only|[[Category:Minigame templates]][[Category:Experience lamps templates]]}}

Latest revision as of 12:00, August 28, 2018

Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Navbox/doc.
Template:Player-owned port invokes Module:Navbox using Lua.

Usage

This template can be used to make a standard navigation box. It is intended for use within another template that standardises the title and contents of the box (see Template:Rune equipment). This template should not be used directly within articles, as it creates a maintenance burden to do so whenever the contents of the box have to be updated.

The purpose of this template is to standardise the attributes of all navigation boxes, for example, their colours and other CSS attributes. The template is fairly simple, and could be extended to add other features in the future. Using this template allows changes to be implemented much quicker and easier than editing each template separately.

Syntax

{{Navbox
|state = uncollapsed, collapsed, plain, autocollapse (default)
|name = mandatory - name of the template
|style = optional - style for the whole table
|title = mandatory - navbox header
|gtitleN = optional - title of N-th group of items
|styleN = optional - style for groupN; i.e. text-align
|groupN = mandatory - list of groups of items
|fstyle = optional - style for footer ; i.e. text-align
|footer = optional - navbox footer
}}
  • Groups: Currently there is no technical limit to the maximum number of groups.
    • Groups of items can be added as parameters: group1, group2, group3, ... up to groupN.
  • Group title: Each group has its own title parameter: gtitle1, gtitle2, gtitle3, ... up to gtitleN. Note that the default width for the first column is 15%.
  • Group style: Style may also be customised to each group in: style1, style2, style3, ... up to styleN.
    • Note that neither the title nor the items have any wiki-links built into the template. As a result, users of the template are free to use wiki-links as they wish.
  • Line breaks: Line-breaks (<br />) are unnecessary, as text wrapping is done automatically by the template. This also includes links and text in gtitleN and groupN.
  • Bullets: Create unordered lists with lines beginning with *. The use of Template:* is deprecated

States

  • Autocollapse: By default, the state of a navbox is "autocollapsed". This means that if the number of navboxes in a page exceeds the maximum allocation of the collapsible navboxes, then the remaining navboxes are collapsed automatically. For more information (or to change the setting), see MediaWiki:Common.js.
    • Currently, the autocollapse allocation is 2 (see MediaWiki:Common.js). This means that if there are 3 navboxes in a page, the third and subsequent navboxes will be collapsed automatically.
  • Uncollapsed: Forces the navbox to be displayed.
    • All of the navboxes in this documentation are in the uncollapsed state.
  • Collapsed: The reverse of uncollapsed. Forces the navbox to be hidden instead.
    • Navboxes with a height of more than 300 pixels will also be collapsed automatically. For more information (or to change the setting), see MediaWiki:Common.js.
  • Plain: Removes the "show/hide" link.

Sub-groups

  • For larger navboxes, it may be necessary to include sub-groups within a particular group of items. It is also possible to collapsible navboxes within the parent navbox, see Collapsible sub-groups.
  • To create sub-groups within {{Navbox}}, certain parameters are to be included:
    • The parent navbox group (i.e. group2 in the example below) requires the type parameter (gtype2 = subgroup).
    • The nested navbox (sub-group) requires the inclusion of the sub-group parameter (subgroup = yes). This enables the template to differentiate between the sub-group and the parent navbox.
{{Navbox
|name = 
|title = 
|gtitle1 = 
|group1 =
|gtitle2 = 
|gtype2 = subgroup (mandatory)
|group2 =
  {{Navbox
  |subgroup = yes (mandatory)
  |gtitle1 = 
  |group1 =
  |gtitle2 = 
  |group2 =
  }}
}}

Collapsible sub-groups

  • For extremely long navboxes, it is recommended to use collapsible navboxes within the parent navbox. Further sub-groups can then be added to these collapsible navboxes.
  • To create collapsible sub-groups within {{Navbox}}, these parameters need to be included:
    • The parent navbox is almost always uncollapsed (state=uncollapsed).
    • The parent navbox group (i.e. group1 in the example below) requires the type parameter (gtype1 = subgroup).
    • The nested collapsible navbox requires the inclusion of the collapsible parameter (collapsible = yes). This enables the template to differentiate between the collapsible navbox and the parent navbox.
    • The nested collapsible navbox is forcefully collapsed (state=collapsed).
{{Navbox
|state = uncollapsed
|name = 
|gtype1 = subgroup
|group1 = 
  {{Navbox
  |collapsible = yes
  |state = collapsed
  |title = 
  |gtitle1 = 
  |group1 =
  |gtitle2 = 
  |group2 =
  }}
}}

Use of images

  • The use of images in navboxes is permitted, but please resize the images to keep them small. Inventory-sized images (25-30 pixels) are recommended.
  • Please use {{plink}} to create links with images. Use {{plinkp}} for any case where text is not desired after the link. It functions the same as {{plink}}, but it does not produce a wikilink in text. Use {{chatl}} to link chatheads. These templates create links for both the image and text (except for {{plinkp}}) using far less wikicode than the standard syntax. Use {{Emote link}} to link emote icons.

Link and file share the same name

{{plink|Item}}

File name differs from the link

{{plink|Item|pic=File}}

Link and file share the same name, but different text is desired to display

{{plink|Item|txt=Text}}

File name differs from the link and different text is desired to display

{{plink|Item|pic=File|txt=Text}}
Examples
Code Standard syntax
{{plink|Abyssal whip}} [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip]]
{{plink|Granite maul|pic=Abyssal whip}} [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]
{{plink|Abyssal whip|txt=Whip}} [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip|Whip]]
{{plink|Granite maul|pic=Abyssal whip|txt=Whip}} [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul|Whip]]
{{plinkp|Abyssal whip}} [[File:Abyssal whip.png|link=Abyssal whip]]
{{plinkp|Granite maul|pic=Abyssal whip}} [[File:Abyssal whip.png|link=Granite maul]]

Categorising

Navboxes are very useful for transcluding categories onto a large number of pages that share both a trait and the navigation box. For example: Template:Rune equipment transcludes Category:Rune onto every page that uses it.

There are 2 methods of categorising pages with navboxes:

The first way is with {{Ctg}}. This is the preferred method, and can be used in most cases. The rules and operations for the Category handler template are very simple; however, they are enough to produce the desired results on most pages.

The other method is using {{Mainonly|rules}} and providing more complex rules with parser functions. Template:Potions is an example of this:

{{mainonly|{{#ifeq:{{lc:{{#sub:{{PAGENAME}}|-3}}}}|mix|[[Category:Barbarian mixes]]}}}}

This code tells the template to add Category:Barbarian mixes to pages only if their title ends with the string "mix". {{ctg|Barbarian mixes::ifmatches[mix]}} would not work here, because several pages include the substring "mix" in other locations, and they would be improperly categorised.

Categorisation should only be used on a template for large-scale addition. It is unhelpful, for example, to use a rule that only applies to 1 page.

Examples

To see the following navboxes in action, see Template:Navbox.

Single line navbox with centered list

{{Navbox
|name = 
|title = 
|style1 = text-align:center
|group1 =
}}

Navbox with standard footer

{{Navbox
|name = 
|title = 
|gtitle1 = 
|group1 =
|footer = Centered footer
}}

Navbox with styled footer

{{Navbox
|name = 
|title = 
|gtitle1 = 
|group1 =
|fstyle = text-align:right
|footer = Right-aligned footer
}}

Multiple line navbox

{{Navbox
|name = 
|title = 
|gtitle1 = Group title 1
|group1 =
|gtitle2 = Group title 2
|group2 =
|gtitle3 = Group title 3
|group3 =
}}

Collapsed navbox

{{Navbox
|state = collapsed
|name = 
|title = 
|style1 = text-align:center
|group1 =
}}

Plain navbox with Tnavbar

{{Navbox
|state = plain
|name = 
|title = 
|style1 = text-align:center
|group1 =
}}

Plain navbox without Tnavbar

{{Navbox
|state = plain
|title = 
|style1 = text-align:center
|group1 =
}}

Complicated navbox

{{Navbox
|state = uncollapsed
|name = 
|title = 
|gtitle1 = Level 1 Title 1
|group1 =
|gtitle2 = Level 1 Title 2
|group2 =
|gtitle3 = Level 1 Title 3
|group3 =
|gtitle4 = Level 1 Title 4
|group4 =
|gtitle5 = Level 1 Title 5
|gtype5 = subgroup
|group5 =
  {{Navbox
  |subgroup = yes
  |gtitle1 = Level 2 Title 1
  |group1 =
  |gtitle2 = Level 2 Title 2
  |group2 =
  |gtitle3 = Level 2 Title 3
  |gtype3 = subgroup
  |group3 =
    {{Navbox
    |subgroup = yes
    |gtitle1 = Level 3 Title 1
    |group1 =
    |gtitle2 = Level 3 Title 2
    |group2 =
    }}
  |gtitle4 = Level 2 Title 4
  |group4 =
  }}
|gtitle6 = Level 1 Title 6
|group6 =
|gtitle7 = Level 1 Title 7
|group7 =
|fstyle = 
|footer = 
}}

Preventing unwanted documentation

The Navbox template's documentation is automatically transcluded under the navbox on any Template namespace page. It is not transcluded when used as a sub-group or collapsible sub-group template (subgroup= yes or collapsible=yes).

Should the documentation appear when it is unwanted, it can be hidden by setting the doc parameter doc=no on the template. In most cases, the doc parameter is not used and the parameter is removed completely.

On a similar note, the automatically-added category Category:Navigational templates can be suppressed by adding hidecat=yes.
Community content is available under CC-BY-SA unless otherwise noted.