Template:Infobox Game Fancy: Difference between revisions

Content added Content deleted
imported>Umjahwa
(Fixed bad property names)
imported>Umjahwa
(Testing auto-calculating pyramid counts)
Line 20: Line 20:
! align=right | Complexity:
! align=right | Complexity:
| [[Rules Complexity::{{#if: {{{complexity|}}} | {{{complexity}}} | unknown}}]]
| [[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;" }}
|- {{#if: {{{trios|}}} | | style="display: none;" }}
! colspan=2 align=right width="50%" valign=top | Pyramid trios:
! colspan=2 align=right valign=top | Pyramid trios:
| [[Trios::{{{trios|}}}]]
| [[Trios::{{{trios|}}}]]


|- {{#if: {{{stashes|}}} | | style="display: none;" }}
|- {{#if: {{{stashes|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Icehouse stashes:
! colspan=2 align=right valign=top | Monochr. stashes:
| [[Stashes::{{{stashes|}}}]]
| [[Stashes::{{{stashes|}}}]]


|- {{#if: {{{sets|}}} | | style="display: none;" }}
|- {{#if: {{{sets|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Treehouse sets:
! colspan=2 align=right valign=top | Five-color sets:
| [[Sets::{{{sets|}}}]]
| [[Sets::{{{sets|}}}]]


Line 57: Line 65:
|- {{#if: {{{game_mechanics|}}}{{{mechanic1|}}}{{{mechanic2|}}} | | style="display: none;" }}
|- {{#if: {{{game_mechanics|}}}{{{mechanic1|}}}{{{mechanic2|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Game mechanics:
! 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=,}}
| {{#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;" }}
|- {{#if: {{{theme|}}} | | style="display: none;" }}
Line 75: Line 83:
<noinclude>
<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 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).
This infox box replaced the old box on Nov. 12, 2016. This page has been kept for testing purposes (for now).



Change list:
Change list:
Line 107: Line 113:
| game_length=
| game_length=
| complexity=
| complexity=
| trios_per_color=
| number_of_colors=
| trios=
| trios=
| stashes=
| stashes=