Template:Infobox Game Fancy: Difference between revisions

Testing auto-calculating pyramid counts
imported>Umjahwa
(Fixed bad property names)
imported>Umjahwa
(Testing auto-calculating pyramid counts)
Line 20:
! align=right | Complexity:
| [[Rules Complexity::{{#if: {{{complexity|}}} | {{{complexity}}} | unknown}}]]
 
|- {{#if: {{{trios_per_color|}}} | | style="display: none;" }}
! colspan=2 align=right width="50%" valign=top | Trios per color:
| [[Trios per color::{{#if: {{{trios_per_color|}}} | {{{trios_per_color}}} | {{#invoke: Infobox Tools | guess_trios_per_color | {{{stashes|}}} | {{{sets|}}} }} }}]]
 
|- {{#if: {{{number_of_colors|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Number of colors:
| [[Number of colors::{{#if: {{{number_of_colors|}}} | {{{number_of_colors}}} | {{#invoke: Infobox Tools | guess_numbers_of_colors | {{{stashes|}}} | {{{sets|}}} }} }}]]
 
|- {{#if: {{{trios|}}} | | style="display: none;" }}
! colspan=2 align=right width="50%" valign=top | Pyramid trios:
| [[Trios::{{{trios|}}}]]
 
|- {{#if: {{{stashes|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | IcehouseMonochr. stashes:
| [[Stashes::{{{stashes|}}}]]
 
|- {{#if: {{{sets|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | TreehouseFive-color sets:
| [[Sets::{{{sets|}}}]]
 
Line 57 ⟶ 65:
|- {{#if: {{{game_mechanics|}}}{{{mechanic1|}}}{{{mechanic2|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Game mechanics:
| {{#invoke: Infobox Tools | linkify_mechs | {{{game_mechanics|}}} | {{{mechanic1|}}} | {{{mechanic2|}}} }} {{#set: |Game Mechanics={{#invoke: Infobox Tools | clean_mechs | {{{game_mechanics|}}} | {{{mechanic1|}}} | {{{mechanic2|}}} }} |+sep=,}}
 
|- {{#if: {{{theme|}}} | | style="display: none;" }}
Line 75 ⟶ 83:
<noinclude>
This is a new and improved infobox to accompany the resurrection of the wiki in November of 2016. Every game should have a infobox since the parameters are automatically scanned and added to the game entry in the database. A properly filled out infobox will eventually replace most functionality provided by Categories and will greatly improve the searching and finding of games.
 
 
This infox box replaced the old box on Nov. 12, 2016. This page has been kept for testing purposes (for now).
 
 
Change list:
Line 107 ⟶ 113:
| game_length=
| complexity=
| trios_per_color=
| number_of_colors=
| trios=
| stashes=
Anonymous user