Veloren Wiki:Templates: Difference between revisions

From Veloren Wiki
Content added Content deleted
No edit summary
mNo edit summary
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navbox}}
{{About|available templates|a list of templates|[[:Category:Templates]]}}
{{About|A1=available templates|A2=a list of templates|A3=[[:Category:Templates]]}}
Templates are used to duplicate the same content across more than one page, reducing maintenance and work needed on creating and updating pages. Changing a template in one place will immediately apply the changes to all the pages that use it.
Templates are used to duplicate the same content across more than one page, reducing maintenance and work needed on creating and updating pages. Changing a template in one place will immediately apply the changes to all the pages that use it.


This page lists templates of this wiki.
This page lists templates of this wiki. Due to the amount of traffic and the game being controversial, template creation requires additional permission on top of registered and verified users. For more information on templates, check out Wikipedia's template page or Wikimedia's template page. If you are interested in:
== Article Namespace ==
== Article Namespace ==
==== Related Articles ====
==== Related Articles ====
Line 25: Line 26:
|}
|}


== Infoboxes ==
{| class="wikitable"
!Template
!Use
!Where to put it
|-
|style="background: rgba(92, 133, 214, 0.25);" colspan="3"|Equipments
|-
|{{tl|Infobox armor}}
|For armor items
|top page below the navbox, above the preamble/description and heading title
|-
|{{tl|Infobox weapon}}
|For SOME weapon items. Don't use it for modular weapon as it will create a considerable amount of page for the same stats. To add modular weapons, use the weapons page.
|top page below the navbox, above the preamble/description and heading title
|-
|style="background: rgba(92, 133, 214, 0.25);" colspan="3"|Items
|-
|{{tl|Infobox crafting station}}
|For crafting station
|top page below the navbox, above the preamble/description and heading title
|-
|-
|{{tl|Infobox ingredient}}
|For ingredient that are not consumable
|top page below the navbox, above the preamble/description and heading title
|-
|{{tl|Infobox consumable}}
|For consumables as drink, potions, meat...
|top page below the navbox, above the preamble/description and heading title
|-
|style="background: rgba(92, 133, 214, 0.25);" colspan="3"|NPCs
|-
|{{tl|Infobox bestiary}}
|Only for the biome, cave, sites and towns page.
|in the content section, inside the tag :
<code><nowiki><div class=flexcontainer>{{infobox bestiary}}</div></nowiki></code>
|-
|{{tl|Infobox minions}}
|For minions and boss.
|In dungeon page.In the content section, inside the tag :
<code><nowiki><div class=flexcontainer>{{infobox bestiary}}</div></nowiki></code>
|-
|{{tl|Infobox npc}}
|For all npc including boss, monsters
|top page below the navbox, above the preamble/description and heading title
|-
|style="background: rgba(92, 133, 214, 0.25);" colspan="3"|Combat skills
|-
|{{tl|Infobox skill}}
|For all the skills present in the skill book.
|}

== Recipes ==

{| class="wikitable"
!Template
!Use
!Where to put it
|-
|{{tl|RecipeHeader}}
|Starts the recipe table
|Under the infobox of an item's page.
|-
|{{tl|RecipeRow}}
|Has all the information of a recipe. More information in the template documentation.
|Under RecipeHeader.
|-
|{{tl|RecipeEnd}}
|Ending the recipe table.
|Under the final recipe in the table.
|-
|{{tl|Archived}}
|For marking an article as discontinued content.
|Used inside the template RecipeRow (checkbox)
|-
|{{tl|Checked}}
|For marking an info on recipe, stats, NPCs as checked
|Used inside the template RecipeRow (checkbox)
|-
|{{tl|Seasonal}}
|For marking an recipe, stats, NPCs as discontinued content.
|Used inside the template RecipeRow (checkbox)
|-
|{{tl|Unchecked}}
|For marking an info on recipe, stats, NPCs as unchecked
|Used inside the template RecipeRow (checkbox)
|}

== Maintenance templates ==

{| class="wikitable"
!Template
!Use
!Where to put it
|-
|{{tl|Inuse}}
|For marking a page as actively being worked on so no one else will edit that page.
|Top of page
|-
|{{tl|Archives}}
|For marking an article as discontinued content.
|Top of page
|-
|}

<!--End of Page: Footer notes go here-->
{{Note|'''Note:''' A portion of the text above is originated from the [https://starcitizen.tools Star Citizen Wiki] under [https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.0]}}
{{Note|'''Note:''' A portion of the text above is originated from the [https://starcitizen.tools Star Citizen Wiki] under [https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.0]}}

Latest revision as of 06:30, 23 July 2023

This page is about available templates.For a list of templates, see Category:Templates

Templates are used to duplicate the same content across more than one page, reducing maintenance and work needed on creating and updating pages. Changing a template in one place will immediately apply the changes to all the pages that use it.

This page lists templates of this wiki.

Article Namespace

Related Articles

Template Use Where to put it
{{Main}} Section is a summary or snippit of another article Under section header
{{About}} Section has a related article Under section header

Other uses of the same title

Template Use Where to put it
{{About}} Noting other uses for a page or section Top or under section header

Infoboxes

Template Use Where to put it
Equipments
{{Infobox armor}} For armor items top page below the navbox, above the preamble/description and heading title
{{Infobox weapon}} For SOME weapon items. Don't use it for modular weapon as it will create a considerable amount of page for the same stats. To add modular weapons, use the weapons page. top page below the navbox, above the preamble/description and heading title
Items
{{Infobox crafting station}} For crafting station top page below the navbox, above the preamble/description and heading title
{{Infobox ingredient}} For ingredient that are not consumable top page below the navbox, above the preamble/description and heading title
{{Infobox consumable}} For consumables as drink, potions, meat... top page below the navbox, above the preamble/description and heading title
NPCs
{{Infobox bestiary}} Only for the biome, cave, sites and towns page. in the content section, inside the tag :

<div class=flexcontainer>{{infobox bestiary}}</div>

{{Infobox minions}} For minions and boss. In dungeon page.In the content section, inside the tag :

<div class=flexcontainer>{{infobox bestiary}}</div>

{{Infobox npc}} For all npc including boss, monsters top page below the navbox, above the preamble/description and heading title
Combat skills
{{Infobox skill}} For all the skills present in the skill book.

Recipes

Template Use Where to put it
{{RecipeHeader}} Starts the recipe table Under the infobox of an item's page.
{{RecipeRow}} Has all the information of a recipe. More information in the template documentation. Under RecipeHeader.
{{RecipeEnd}} Ending the recipe table. Under the final recipe in the table.
{{Archived}} For marking an article as discontinued content. Used inside the template RecipeRow (checkbox)
{{Checked}} For marking an info on recipe, stats, NPCs as checked Used inside the template RecipeRow (checkbox)
{{Seasonal}} For marking an recipe, stats, NPCs as discontinued content. Used inside the template RecipeRow (checkbox)
{{Unchecked}} For marking an info on recipe, stats, NPCs as unchecked Used inside the template RecipeRow (checkbox)

Maintenance templates

Template Use Where to put it
{{Inuse}} For marking a page as actively being worked on so no one else will edit that page. Top of page
{{Archives}} For marking an article as discontinued content. Top of page
Note: A portion of the text above is originated from the Star Citizen Wiki under CC BY-SA 4.0
Cookies help us deliver our services. By using our services, you agree to our use of cookies.