Actions

Template

Difference between revisions of "Item/Table"

From Crea Wiki

Line 1: Line 1:
 
<includeonly>{{#switch: {{{type}}}
 
<includeonly>{{#switch: {{{type}}}
 
| default =
 
| default =
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 14: Line 14:
 
| material=
 
| material=
 
{{#ask: [[Is type::Material]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
{{#ask: [[Is type::Material]][[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
 +
}}
 +
| research=
 +
{{#ask: [[Is type::Researchable]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 38: Line 50:
 
}}
 
}}
 
| weapon =
 
| weapon =
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has power
 
|?Has power
Line 51: Line 63:
 
}}
 
}}
 
| tool =  
 
| tool =  
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has power
 
|?Has power
Line 64: Line 76:
 
}}
 
}}
 
| set =
 
| set =
{{#ask:[[Category:Item]] [[Category:{{{category|}}}]][[Has image::+]]
+
{{#ask:[[Category:Item]] [[Category:{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has power
 
|?Has power
Line 76: Line 88:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| armor = {{#ask: [[Has category:: Armor]] [[Has subcategory::{{{category|}}}]] [[Has image::+]]
+
| armor = {{#ask: [[Has category:: Armor]] [[Has subcategory::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has defense
 
|?Has defense
Line 89: Line 101:
 
}}
 
}}
 
| recipelist =  
 
| recipelist =  
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]]
+
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 104: Line 116:
 
}}
 
}}
 
| surfacelist =  
 
| surfacelist =  
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]]
+
{{#ask:[[Has serviceRequired::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 118: Line 130:
 
|offset = 0
 
|offset = 0
 
}}
 
}}
| potion = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]]
+
| potion = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has subcategory  
 
|?Has subcategory  
Line 130: Line 142:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| ore = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]]
+
| ore = {{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has subcategory  
 
|?Has subcategory  

Revision as of 10:46, 15 April 2016

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 }}