Actions

Template

Difference between revisions of "Item/Table"

From Crea Wiki

Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: {{{list}}} | item =
 
 
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
 
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
 
|?# ?Has image
 
|?# ?Has image
Line 11: Line 10:
 
|template=Item/Table/Rows
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro
 
|introtemplate=Item/Table/Intro
|outrotemplate=Item/Table/Outro
+
|outrotemplate=Item/Table/Outro}}
}}
 
| armor =
 
{{#ask: [[Has category:: Armor]] [[Has subcategory::{{{category|}}}]] [[Has image::+]]
 
|?# ?Has image
 
|?Has defense
 
|?Has level
 
|?Has flavor
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/Armor
 
|outrotemplate=Item/Table/Outro
 
}}
 
| basics =
 
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?Has category
 
|?Has flavor
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows/4
 
|introtemplate=Item/Table/Intro/Basics
 
|outrotemplate=Item/Table/Outro
 
}}
 
| potion =
 
{{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]]
 
|?# ?Has image
 
|?Has effect
 
|?Has tooltip
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows/4
 
|introtemplate=Item/Table/Intro/Potion
 
|outrotemplate=Item/Table/Outro
 
}}
 
| recipelist =
 
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]]
 
|?# ?Has image
 
|?Has category
 
|?Has subcategory
 
|?Has ingredient
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/RecipeList
 
|outrotemplate=Item/Table/Outro
 
}}
 
| uses =
 
{{#ask: [[Has material::{{{category|}}}]][[Has image::+]]
 
|?# ?Has image
 
|?Has category
 
|?Has subcategory
 
|?Has flavor
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/Uses
 
|outrotemplate=Item/Table/Outro
 
}}
 
| weapon =
 
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]]
 
|?# ?Has image
 
|?Has power
 
|?Has level
 
|?Has flavor
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/Weapon
 
|outrotemplate=Item/Table/Outro
 
}}
 
| tool =
 
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
 
|?# ?Has image
 
|?Has power
 
|?Has level
 
|?Has flavor
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/Tool
 
|outrotemplate=Item/Table/Outro
 
}}
 
| set =
 
{{#ask:[[Category:Item]] [[Category:{{{category|}}}]][[Has image::+]]
 
|?# ?Has image
 
|?Has power
 
|?Has defense
 
|?Has tooltip
 
|format=template
 
|link=none
 
|headers=show
 
|template=Item/Table/Rows
 
|introtemplate=Item/Table/Intro/Set
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template is to create tables on pages. Simply input which category you want to build a table for.
 
This template is to create tables on pages. Simply input which category you want to build a table for.

Revision as of 15:23, 11 April 2016

This template is to create tables on pages. Simply input which category you want to build a table for.

{{Item/Table | type= type of table | category= name of category }}