Actions

Template

Difference between revisions of "Item/Table"

From Crea Wiki

 
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#switch: {{{type}}}
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
+
| default =
 +
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 11: Line 12:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
</includeonly><noinclude>
+
| material=
 +
{{#ask: [[Is type::Material]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has subcategory
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/4
 +
|introtemplate=Item/Table/Intro/Basics
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| research=
 +
{{#ask: [[Is type::Researchable]] [[Has Material_Type::{{{Material_Type|}}}]] [[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has Material_Type
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/4
 +
|introtemplate=Item/Table/Intro/Basics
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| uses =
 +
{{#ask: [[Has material::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 +
|?# ?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
 +
}}
 +
| drops =
 +
{{#ask: [[Has loot_drop::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has category
 +
|?Has subcategory
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows
 +
|introtemplate=Item/Table/Intro/Loot
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| weapon =
 +
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has power
 +
|?Has Equip_Level
 +
|?Has Weapon_Special
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/5
 +
|introtemplate=Item/Table/Intro/Weapon
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| tool =
 +
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has power
 +
|?Has Equip_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 subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has power
 +
|?Has defense
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows
 +
|introtemplate=Item/Table/Intro/Set
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| armor = {{#ask: [[Has category:: Armor]] [[Has subcategory::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has defense
 +
|?Has Armor_Mind
 +
|?Has Equip_Level
 +
|?Has Armor_Special
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/6
 +
|introtemplate=Item/Table/Intro/Armor
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| recipelist =
 +
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has category
 +
|?Has subcategory
 +
|?Has material
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows
 +
|introtemplate=Item/Table/Intro/RecipeList
 +
|outrotemplate=Item/Table/Outro
 +
|limit = 10
 +
|offset = 0
 +
}}
 +
| surfacelist =
 +
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has category
 +
|?Has subcategory
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows
 +
|introtemplate=Item/Table/Intro
 +
|outrotemplate=Item/Table/Outro
 +
|limit = 10
 +
|offset = 0
 +
}}
 +
| potion = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has subcategory
 +
|?Has effect
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows
 +
|introtemplate=Item/Table/Intro/Potion
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| ore = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has subcategory
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/4
 +
|introtemplate=Item/Table/Intro/Basics
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
| basics = {{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 +
|?# ?Has image
 +
|?Has subcategory
 +
|?Has flavor
 +
|format=template
 +
|link=none
 +
|headers=show
 +
|template=Item/Table/Rows/4
 +
|introtemplate=Item/Table/Intro/Basics
 +
|outrotemplate=Item/Table/Outro
 +
}}
 +
|
 +
}}</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.
  

Latest revision as of 00:37, 22 June 2017

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

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