Actions

Template

Difference between revisions of "Item/Table"

From Crea Wiki

 
(52 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#switch: {{{type}}}
{{#switch: {{{list}}} | item =
+
| default =
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 7: Line 7:
 
|?Has flavor
 
|?Has flavor
 
|format=template
 
|format=template
|link=none
 
 
|headers=show
 
|headers=show
 
|template=Item/Table/Rows
 
|template=Item/Table/Rows
Line 13: Line 12:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| armor =
+
| material=
{{#ask: [[Has category:: Armor]] [[Has subcategory::{{{category|}}}]] [[Has image::+]]
+
{{#ask: [[Is type::Material]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
|?Has defense
+
|?Has subcategory
|?Has level
 
 
|?Has flavor
 
|?Has flavor
 
|format=template
 
|format=template
 
|link=none
 
|link=none
 
|headers=show
 
|headers=show
|template=Item/Table/Rows
+
|template=Item/Table/Rows/4
|introtemplate=Item/Table/Intro/Armor
+
|introtemplate=Item/Table/Intro/Basics
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| basics =  
+
| research=
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
+
{{#ask: [[Is type::Researchable]] [[Has Material_Type::{{{Material_Type|}}}]] [[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
|?Has category
+
|?Has Material_Type
 
|?Has flavor
 
|?Has flavor
 
|format=template
 
|format=template
Line 38: Line 36:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| potion =  
+
| uses =
{{#ask:[[Has subcategory::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has material::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
|?# ?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 image
 
|?Has category
 
|?Has category
|?Has subcategory  
+
|?Has subcategory
|?Has ingredient
+
|?Has flavor
 
|format=template
 
|format=template
 
|link=none
 
|link=none
 
|headers=show
 
|headers=show
 
|template=Item/Table/Rows
 
|template=Item/Table/Rows
|introtemplate=Item/Table/Intro/RecipeList
+
|introtemplate=Item/Table/Intro/Uses
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| uses =  
+
| drops =
{{#ask: [[Has material::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has loot_drop::{{{category|}}}]][[Has image::+]][[:+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has category
 
|?Has category
Line 73: Line 59:
 
|headers=show
 
|headers=show
 
|template=Item/Table/Rows
 
|template=Item/Table/Rows
|introtemplate=Item/Table/Intro/Uses
+
|introtemplate=Item/Table/Intro/Loot
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| weapon =  
+
| weapon =
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]] [[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has power
 
|?Has power
|?Has level
+
|?Has Equip_Level
|?Has flavor
+
|?Has Weapon_Special
 
|format=template
 
|format=template
 
|link=none
 
|link=none
 
|headers=show
 
|headers=show
|template=Item/Table/Rows
+
|template=Item/Table/Rows/5
 
|introtemplate=Item/Table/Intro/Weapon
 
|introtemplate=Item/Table/Intro/Weapon
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
 
| tool =  
 
| tool =  
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]]
+
{{#ask: [[Has subcategory::{{{category|}}}]][[Has image::+]] [[Has subpagename::!~*/* ]]
 
|?# ?Has image
 
|?# ?Has image
 
|?Has power
 
|?Has power
|?Has level
+
|?Has Equip_Level
 
|?Has flavor
 
|?Has flavor
 
|format=template
 
|format=template
Line 102: Line 88:
 
|outrotemplate=Item/Table/Outro
 
|outrotemplate=Item/Table/Outro
 
}}
 
}}
| 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
 
|?Has defense
 
|?Has defense
|?Has tooltip
+
|?Has flavor
 
|format=template
 
|format=template
 
|link=none
 
|link=none
Line 115: Line 101:
 
|outrotemplate=Item/Table/Outro
 
|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>
+
|
 +
}}</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.
  
<pre>{{Item/Table | type= type of table | category= name of category }}</pre>
+
<pre>{{Item/Table | category= name of category }}</pre>
 
[[Category:Templates]][[Category:Semantic template]]
 
[[Category:Templates]][[Category:Semantic template]]
 
</noinclude>
 
</noinclude>

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