Template:Infobox Game Fancy: Difference between revisions

From Looney Pyramid Games Wiki
Content added Content deleted
imported>Umjahwa
(Added linkify_equip function call)
imported>Umjahwa
(Updated the description text at the bottom)
Line 84: Line 84:
** Lua scripts are used to intelligently read certain data rows. (fixes processing errors)
** Lua scripts are used to intelligently read certain data rows. (fixes processing errors)
** "designer", "other_equip", & "game_mechanics" can now accept comma separated lists that will be split into separate multiple values of the same semantic property (better for searching).
** "designer", "other_equip", & "game_mechanics" can now accept comma separated lists that will be split into separate multiple values of the same semantic property (better for searching).
** "other_equip" and "game_mechanics" automatically generate links to the related wiki pages (easier browsing)


Note: all of the original parameters are included with the exact same variable names as the original infobox. In theory, this template could be swapped with the existing template without breaking anything... however, there is a lot more testing that needs to be done and the design needs to be vetted by the wiki administrators as well as the more senior wiki users. Please do not use this infobox on any of the current game pages.
Note: all of the original parameters are included with the exact same variable names as the original infobox. In theory, this template could be swapped with the existing template without breaking anything... however, there is a lot more testing that needs to be done and the design needs to be vetted by the wiki administrators as well as the more senior wiki users. Please do not use this infobox on any of the current game pages.
Line 121: Line 122:
</nowiki></pre>
</nowiki></pre>


Each keyword on the left is used to fill in the appropriate section of the infobox. Please enter your values directly after the equal sign (=) on each row. Feel free to leave some of the parameters blank (as indicated below). If a parameter is omitted or left blank, the related row of the infobox will not be displayed. Note: due to this behavior, not all data rows are shown in the example infobox on this page. order in which data is displayed in the infobox is determined by the template. Rearranging the rows of you inputs will have no affect.
Each keyword on the left is used to fill in the appropriate section of the infobox. Please enter your values directly after the equal sign (=) on each row. Feel free to leave some of the parameters blank (as indicated below). If a parameter is left blank, the related row of the infobox will not be displayed. Note: due to this behavior, not all data rows are shown in the example infobox on this page. The order in which the rows are displayed in the infobox is determined by the template. Rearranging the rows of your inputs will have no affect.


The following list describes how to set all the values in the info box, from top to bottom. It lists the value to be set and the parameter used to set it, followed by details about what it represents and exactly what needs to be set. [Note: some new parameters are not listed below. This list will be updated and reformatted in the future.]
The following list describes how to set all the values in the info box, from top to bottom. It lists the value to be set and the parameter used to set it, followed by details about what it represents and exactly what needs to be set.


'''''Game'' => subject_name'''
'''subject_name --> replaces ''Game''''' (REQUIRED)
:The name of the game.
:The name of the game.
:<pre>subject_name=Zendo</pre>
:<pre>subject_name=Zendo</pre>


'''''Designer'' => designer'''
'''designer --> replaces ''Designer''''' (REQUIRED)
:The name of the person who created the game. If that person has a page on icehousegames.org, you can enclose the name in double square brackets to provide a link to that person's page.
:The name of the person who created the game. If that person has a page on icehousegames.org, you can enclose the name in double square brackets to provide a link to that person's page.
:<pre>designer=<nowiki>Andrew Looney</nowiki></pre>
:<pre>designer=<nowiki>Andrew Looney</nowiki></pre>


'''''(Image)'' => image_link'''
'''image_link --> replaces ''(Image)''''' (optional)
:A link to a small icon or thumbnail-sized image that provides visual information about the game. The first part of this parameter is the name of the image, the second part is the size, and the third part is the mouseover text. It is enclosed in double square brackets.
:A link to a small icon or thumbnail-sized image that provides visual information about the game. The first part of this parameter is the name of the image, the second part is the size, and the third part is the mouseover text. It is enclosed in double square brackets.
:<pre>image_link=<nowiki>[[Image:Pic76724.jpg|250px|A Zendo game]]</nowiki></pre>
:<pre>image_link=<nowiki>[[Image:Pic76724.jpg|250px|A Zendo game]]</nowiki></pre>


'''''Description'' => description'''
'''description --> replaces ''Description''''' (optional)
:A brief explanation (up to 50 words) of the game.
:A very brief explanation (i.e. just a sentence or maybe two) of the game.
:<pre>description=A fast-paced, multiplayer game with a 'Treasure Hunter' theme that is played on a checker board.</pre>
:<pre>description=A fast-paced, multiplayer game with a 'Treasure Hunter' theme that is played on a checker board.</pre>


'''''Min. Players:'' => min_players'''
'''min_players --> ''Players:''' (left-hand side of dash)'' (optional)
'''max_players --> ''Players:''' (right-hand side of dash)'' (optional)
:The fewest number of players required to play the game. Solitaire games use the value '1'.
:The minimum and maximum number of players that can play the game. When both values are provided, they will be seperated by a dash in the "Players" row of the infobox. When only one or the other is given, it will display by itself. For consistency of searching the database, please indicate solitaire or 2-player only games by leaving "min_players" blank and setting "max_players" to the correct value
:<pre>min_players=3</pre>
:<pre>min_players=3</pre>

'''''Max. Players:'' => max_players'''
:The most players who can play the game simultaneously.
:<pre>max_players=100</pre>
:<pre>max_players=100</pre>


'''''Length:'' => game_length'''
'''game_length --> ''Length:'''''
:Descriptive word for how long it takes to play the game. Please try to use one of the following: "Fast" (for 5-10 min, 15 max), "Medium" (for 10-30 min, 45 max), and "Long" (for game lasting more than 30+ min)
:Descriptive word for how long it takes to play the game. Please use one of the following: "Fast" (for 5-10 min games, 15 min max), "Medium" (for 10-30 min, 45 min max), and "Long" (for games lasting more than 30+ min)
:<pre>game_length=Fast</pre>
:<pre>game_length=Fast</pre>


'''''Complexity'' => complexity'''
'''complexity --> ''Complexity'''''
:The relative complexity of the rules of the game. Suitable values for this parameter are: "Simple", "Low", "Medium", "High", or "Complex". This rating is somewhat subjective; a good measure of a game's complexity is how easy it is to describe or learn the valid moves for each turn. A game with few rules and few options, like Tic-Tac-Toe (Noughts and Crosses), has Simple (or Low) complexity.
:The relative complexity of the game. Suitable values for this parameter are: "Simple", "Medium", or "Complex" ("Low" and "High" are also valid but will be eventually phased out). This rating is somewhat subjective; a good measure of a game's complexity is how easy it is to describe or learn the valid moves for each turn. A game with few rules and few options, like Tic-Tac-Toe (Noughts and Crosses), has Simple complexity.
:<pre>complexity=Simple</pre>
:<pre>complexity=Simple</pre>


'''trios --> ''Pyramid trios:''''' (optional but highly recommended)
'''''Trios:'' => trios'''
'''stashes --> ''Icehouse stashes:'''''
:The minimum number of Looney pyramid trios needed to play the game.
'''sets --> ''Treehouse sets:'''''
:The minimum number pyramids needed to play the game. Each parameter denotes a different method of counting pyramids. "Trios" indicates a single set of one small, medium, and large pyramid or the same color. A "Icehouse stash" is 5 pyramids of each size, all of the same color (i.e. 5 trios). A "Treehouse set" is 5 trios, each of a ''different'' color (often called "Rainbow" or "Xeno" stashes). You are free to use whichever parameter makes the most sense for your game. However, so as to avoid confusion, '''please use only one of the three parameters and leave the other two blank!'''
:<pre>trios=3</pre>
:<pre>trios=3</pre>
:<pre>stashes=1 per player</pre>

'''''Icehouse stashes:'' => stashes'''
:The minimum number of Icehouse pyramid stashes (5 pyramids of each size in a single color) required to play the game.
:<pre>stashes=4</pre>

'''''Treehouse sets:'' => sets'''
:The minimum number of Treehouse sets (5 pyramids of each size in 5 colors) required to play the game.
:<pre>sets=2</pre>
:<pre>sets=2</pre>


'''''Other equipment:'' => other_equip'''
'''other_equip --> ''Other equipment:'''''
:A comma separated list of any equipment, other than the pyramids, which is required to play the game. Additional equipment that is often used with Icehouse pyramid games include: D6 dice, Playing cards, Poker chips, Martian Coasters, Treehouse dice, Chessboard, etc.
:A comma separated list of any equipment, other than the pyramids, which is required to play the game. Additional equipment that is often used with Icehouse pyramid games include: D6 dice, Playing cards, Poker chips, Martian Coasters, Treehouse dice, Chessboard, etc. Please do not embed wiki links to the component category pages! This infobox is intelligent and will generate links automatically as long as you use standard terms and capitalize the first word or a component name (e.g. use Chessboard, not chessboard or chess board).
:<pre>other_equip=Six D10 dice, two decks of Pinochle cards.</pre>
:<pre>other_equip=Six D10 dice, two decks of Playing cards.</pre>


'''''Setup time:'' => setup_time'''
'''setup_time --> ''Setup time:'''''
:How much time is required to arrange game pieces or complete other processes, such as arranging players or deciding on a starting player, before actual game-play can begin.
:How much time is required to arrange the game pieces or complete other processes, such as picking player teams or deciding on a starting player, before the actual gameplay can begin. Please use units of "Min" and do not use other text such as "less than" or "quick"; the use of any text other than the units will cause an error with loading the value into the game database.
:<pre>setup_time=5 Min</pre>
:<pre>setup_time=5 Min</pre>


'''''Min. Playing time:'' => min_playing_time'''
'''min_playing_time --> ''Min. Playing time:'''''
'''max_playing_time --> ''Max. Playing time:'''''
:The shortest amount of time the game is expected to take. Please use units of minutes and add the units to the end only if you are NOT including max_playing_time.
:The minimum and maximum time required to play the game. Similar to the number of players, these values will be displayed in the same row and seperated with a dash. Please use units of Min. If you are providing both a min and a max, you may wish to omit the units from the min_playing time so the desplay looks cleaner (the database will default to units of min for game searches). Like with setup_time, please do not use text other than the units.
:<pre>min_playing_time=10 Min</pre>
:<pre>min_playing_time=10 Min</pre>

'''''Max. Playing time:'' => max_playing_time'''
:The longest amount of time the game is expected to take. Please use the same units as min_playing_time and append the unit name to the end.
:<pre>max_playing_time=180 Min</pre>
:<pre>max_playing_time=180 Min</pre>


'''''Strategy depth:'' => strategy'''
'''strategy --> ''Strategy depth:'''''
:The level of strategy that can be developed to increase a player's chance of winning the game. Suitable values for this parameter are: None, Low, Medium, or High. A game like Chess can be described as having a high level of strategy, whereas a game that involves nothing more than rolling a die and moving the number of spaces indicated is described as having no strategy.
:The level of strategy that can be developed to increase a player's chance of winning the game. Suitable values for this parameter are: "None", "Low", "Medium", or "High". A game like Chess can be described as having a high level of strategy, whereas a game that involves nothing more than rolling a die and moving the number of spaces indicated is described as having no strategy.
:<pre>strategy=Low</pre>
:<pre>strategy=Low</pre>


'''''Random chance:'' => random_chance'''
'''random_chance --> ''Random chance:'''''
:A somewhat subjective rating of the amount of random chance involved in playing the game. Suitable values for this parameter are: None, Low, Medium, and High. A game that requires rolling a die, flipping a coin, spinning a wheel, or drawing a card to determine a player's options will have increasingly higher levels of randomness. Games that rely strictly on player moves, like Chess, would be described as having no randomness.
:A somewhat subjective rating of the amount of random chance involved in playing the game. Suitable values for this parameter are: "None", "Low", "Medium", and "High". A game that requires rolling a die, flipping a coin, spinning a wheel, or drawing a card to determine a player's options will have increasingly higher levels of randomness. Games that rely strictly on player moves, like Chess, would be described as having no randomness.
:<pre>random_chance=Medium</pre>
:<pre>random_chance=Medium</pre>


'''game_mechanics --> ''Game Mechanics:'''''
'''''Primary Mechanic:'' => mechanic1'''
:The primary mechanic of the game in a single word/phrase. Typical values include: Stacking, Sorting, Matching, Elimination, Area control, etc.
:Comma seperated list of words/phrases that describe the mechanics of the game. Typical values include: "Stacking", "Sorting", "Matching", "Elimination", "Area control", etc. Please do not embed wiki links; they will be generated automatically. Also, please try to keep it to a limited list of only the MAJOR mechanics used (for example, don't add "stacking" if the pyramids are only stacked in a common bank for organizational and not gameplay reason
:<pre>mechanic1=Stacking</pre>
:<pre>game_mechanics=Stacking, Programming</pre>


'''''Additional Mechanic:'' => mechanic2'''
'''theme --> ''Theme:'''''
:A single word or phrase that describes the theme of the game. Common themes include: "War", "Space", "Role Playing", "Farming", "Nature", etc. A game that has no apparent theme, such as Tic-Tac-Toe (Noughts and Crosses), is considered "Abstract" and can be labeled as such.
:Another mechanic used in the game. See Primary Mechanic (mechanic1).
:<pre>mechanic2=Capture</pre>

'''''Theme:'' => theme'''
:The theme of the game as a single word or phrase. Typical values include: War, Space, Role Playing, Farming, Nature, etc. A game that has no apparent theme, such as Tic-Tac-Toe (Noughts and Crosses), is considered Abstract and can be labeled as such.
:<pre>theme=Underwater Adventure</pre>
:<pre>theme=Underwater Adventure</pre>


'''''BGG Link:'' => BGG_Link'''
'''BGG_Link --> ''BGG Link:'''''
:If the game is listed on [http://www.boardgamegeek.com BoardGameGeek], you can include a link to the game's page enclosed in single square brackets. After the link (but still within the brackets), provide the name of the game, which is what the user will click to follow the link.
:If the game is listed on [http://www.boardgamegeek.com BoardGameGeek], you can include a link to the game's page enclosed in single square brackets. After the link (but still within the brackets), provide the name of the game, which is what the user will click to follow the link. '''IMPORTANT! please do not add your game to BoardGameGeek unless you have playtested it at least a few times and worked out the initial bugs/kinks in the rules.''' No page is better than a page with broken rules.
:<pre>BGG_Link=<nowiki>[http://www.boardgamegeek.com/boardgame/21955 Treehouse]</nowiki></pre>
:<pre>BGG_Link=<nowiki>[http://www.boardgamegeek.com/boardgame/21955 Treehouse]</nowiki></pre>


'''''Footnotes'' => footnotes'''
'''game_status --> ''Status:'''''
:The development status of your game. Please use one of the following: "Initial design", "Playtesting", Nearly Complete", or "Complete".
:Other information that may be of interest to a person who is scanning through info boxes of many games and does not want to read the entire game description page.
:<pre>footnotes=game_status=Playtesting</pre>
:<pre>footnotes=This game was played by Neil Armstrong and Buzz Aldrin during the Apollo 11 moon-landing mission.</pre>

'''version_num --> ''(v#.##)'''''
:Version number of your ruleset. This can help people deduce if the rules have changed since the last time they have looked at the game page.
:<pre>footnotes=version_num=2.1</pre>


'''release_year --> ''Year released'''''
:The year in which you first posted the game online (or finally finished major changes to the rules). Please use the current year when posting your game for the first time, even if you have been playing it privately with family and friends for years.
:<pre>release_year=2016</pre>

'''footnotes --> ''Footnotes'''''
:Any other information that may be of interest to a person who is scanning through infoboxes of many games and does not want to read the entire game description page. For example: "won 2nd place in the XYZ game design contest". Please be responsible and don't add paragraphs of text
:<pre>footnotes=This game was played by Neil Armstrong and Buzz Aldrin during the Apollo 11 moon-landing mission.</pre>
</noinclude>
</noinclude>

Revision as of 04:20, 12 November 2016

Game
unknown Designer
(Image)
Description
:Players Players:
:Time Length: unknown
:Complexity Complexity: unknown
Pyramid trios:
Icehouse stashes:
Treehouse sets:
- - - - - - Other equipment - - - - - -
Setup time:
Playing time:
Strategy depth:
Random chance:
Game mechanics:
Theme:
BGG Link:
Status: complete? (v1.0), Year released: 2987
Footnotes

This is a new, experimental infobox based on the original Template:Infobox Game template.

Change list:

  • Added player count, game length, and rule complexity icons
  • Added options for "game_length", "trios", "game_mechanics", "game_status", & "release_year"
  • Compressed min & max player count and min & max playing time to single lines separated by a dash when both variables are defined (note: the variables are still mapped to separate properties, only the infobox display is different)
  • Now powered by ParserFunctions and Lua!
    • Omitted or empty parameters will be automatically hidden. (looks cleaner)
    • Lua scripts are used to intelligently read certain data rows. (fixes processing errors)
    • "designer", "other_equip", & "game_mechanics" can now accept comma separated lists that will be split into separate multiple values of the same semantic property (better for searching).
    • "other_equip" and "game_mechanics" automatically generate links to the related wiki pages (easier browsing)

Note: all of the original parameters are included with the exact same variable names as the original infobox. In theory, this template could be swapped with the existing template without breaking anything... however, there is a lot more testing that needs to be done and the design needs to be vetted by the wiki administrators as well as the more senior wiki users. Please do not use this infobox on any of the current game pages.

Infobox_Game_Fancy instructions:

To display a game infobox on a game entry, enter the following code at the very top of the page:

{{Infobox_Game_Fancy
| subject_name=
| designer=
| username=
| image_link=
| description=
| min_players=
| max_players=
| game_length=
| complexity=
| trios=
| stashes=
| sets=
| other_equip=
| setup_time=
| min_playing_time=
| max_playing_time=
| strategy=
| random_chance=
| game_mechanics=
| theme=
| BGG_Link=
| game_status=
| version_num=
| release_year=
| footnotes=
}}

Each keyword on the left is used to fill in the appropriate section of the infobox. Please enter your values directly after the equal sign (=) on each row. Feel free to leave some of the parameters blank (as indicated below). If a parameter is left blank, the related row of the infobox will not be displayed. Note: due to this behavior, not all data rows are shown in the example infobox on this page. The order in which the rows are displayed in the infobox is determined by the template. Rearranging the rows of your inputs will have no affect.

The following list describes how to set all the values in the info box, from top to bottom. It lists the value to be set and the parameter used to set it, followed by details about what it represents and exactly what needs to be set.

subject_name --> replaces Game (REQUIRED)

The name of the game.
subject_name=Zendo

designer --> replaces Designer (REQUIRED)

The name of the person who created the game. If that person has a page on icehousegames.org, you can enclose the name in double square brackets to provide a link to that person's page.
designer=Andrew Looney

image_link --> replaces (Image) (optional)

A link to a small icon or thumbnail-sized image that provides visual information about the game. The first part of this parameter is the name of the image, the second part is the size, and the third part is the mouseover text. It is enclosed in double square brackets.
image_link=[[Image:Pic76724.jpg|250px|A Zendo game]]

description --> replaces Description (optional)

A very brief explanation (i.e. just a sentence or maybe two) of the game.
description=A fast-paced, multiplayer game with a 'Treasure Hunter' theme that is played on a checker board.

min_players --> Players: (left-hand side of dash) (optional) max_players --> Players: (right-hand side of dash) (optional)

The minimum and maximum number of players that can play the game. When both values are provided, they will be seperated by a dash in the "Players" row of the infobox. When only one or the other is given, it will display by itself. For consistency of searching the database, please indicate solitaire or 2-player only games by leaving "min_players" blank and setting "max_players" to the correct value
min_players=3
max_players=100

game_length --> Length:

Descriptive word for how long it takes to play the game. Please use one of the following: "Fast" (for 5-10 min games, 15 min max), "Medium" (for 10-30 min, 45 min max), and "Long" (for games lasting more than 30+ min)
game_length=Fast

complexity --> Complexity

The relative complexity of the game. Suitable values for this parameter are: "Simple", "Medium", or "Complex" ("Low" and "High" are also valid but will be eventually phased out). This rating is somewhat subjective; a good measure of a game's complexity is how easy it is to describe or learn the valid moves for each turn. A game with few rules and few options, like Tic-Tac-Toe (Noughts and Crosses), has Simple complexity.
complexity=Simple

trios --> Pyramid trios: (optional but highly recommended) stashes --> Icehouse stashes: sets --> Treehouse sets:

The minimum number pyramids needed to play the game. Each parameter denotes a different method of counting pyramids. "Trios" indicates a single set of one small, medium, and large pyramid or the same color. A "Icehouse stash" is 5 pyramids of each size, all of the same color (i.e. 5 trios). A "Treehouse set" is 5 trios, each of a different color (often called "Rainbow" or "Xeno" stashes). You are free to use whichever parameter makes the most sense for your game. However, so as to avoid confusion, please use only one of the three parameters and leave the other two blank!
trios=3
stashes=1 per player
sets=2

other_equip --> Other equipment:

A comma separated list of any equipment, other than the pyramids, which is required to play the game. Additional equipment that is often used with Icehouse pyramid games include: D6 dice, Playing cards, Poker chips, Martian Coasters, Treehouse dice, Chessboard, etc. Please do not embed wiki links to the component category pages! This infobox is intelligent and will generate links automatically as long as you use standard terms and capitalize the first word or a component name (e.g. use Chessboard, not chessboard or chess board).
other_equip=Six D10 dice, two decks of Playing cards.

setup_time --> Setup time:

How much time is required to arrange the game pieces or complete other processes, such as picking player teams or deciding on a starting player, before the actual gameplay can begin. Please use units of "Min" and do not use other text such as "less than" or "quick"; the use of any text other than the units will cause an error with loading the value into the game database.
setup_time=5 Min

min_playing_time --> Min. Playing time: max_playing_time --> Max. Playing time:

The minimum and maximum time required to play the game. Similar to the number of players, these values will be displayed in the same row and seperated with a dash. Please use units of Min. If you are providing both a min and a max, you may wish to omit the units from the min_playing time so the desplay looks cleaner (the database will default to units of min for game searches). Like with setup_time, please do not use text other than the units.
min_playing_time=10 Min
max_playing_time=180 Min

strategy --> Strategy depth:

The level of strategy that can be developed to increase a player's chance of winning the game. Suitable values for this parameter are: "None", "Low", "Medium", or "High". A game like Chess can be described as having a high level of strategy, whereas a game that involves nothing more than rolling a die and moving the number of spaces indicated is described as having no strategy.
strategy=Low

random_chance --> Random chance:

A somewhat subjective rating of the amount of random chance involved in playing the game. Suitable values for this parameter are: "None", "Low", "Medium", and "High". A game that requires rolling a die, flipping a coin, spinning a wheel, or drawing a card to determine a player's options will have increasingly higher levels of randomness. Games that rely strictly on player moves, like Chess, would be described as having no randomness.
random_chance=Medium

game_mechanics --> Game Mechanics:

Comma seperated list of words/phrases that describe the mechanics of the game. Typical values include: "Stacking", "Sorting", "Matching", "Elimination", "Area control", etc. Please do not embed wiki links; they will be generated automatically. Also, please try to keep it to a limited list of only the MAJOR mechanics used (for example, don't add "stacking" if the pyramids are only stacked in a common bank for organizational and not gameplay reason
game_mechanics=Stacking, Programming

theme --> Theme:

A single word or phrase that describes the theme of the game. Common themes include: "War", "Space", "Role Playing", "Farming", "Nature", etc. A game that has no apparent theme, such as Tic-Tac-Toe (Noughts and Crosses), is considered "Abstract" and can be labeled as such.
theme=Underwater Adventure

BGG_Link --> BGG Link:

If the game is listed on BoardGameGeek, you can include a link to the game's page enclosed in single square brackets. After the link (but still within the brackets), provide the name of the game, which is what the user will click to follow the link. IMPORTANT! please do not add your game to BoardGameGeek unless you have playtested it at least a few times and worked out the initial bugs/kinks in the rules. No page is better than a page with broken rules.
BGG_Link=[http://www.boardgamegeek.com/boardgame/21955 Treehouse]

game_status --> Status:

The development status of your game. Please use one of the following: "Initial design", "Playtesting", Nearly Complete", or "Complete".
footnotes=game_status=Playtesting

version_num --> (v#.##)

Version number of your ruleset. This can help people deduce if the rules have changed since the last time they have looked at the game page.
footnotes=version_num=2.1

release_year --> Year released

The year in which you first posted the game online (or finally finished major changes to the rules). Please use the current year when posting your game for the first time, even if you have been playing it privately with family and friends for years.
release_year=2016

footnotes --> Footnotes

Any other information that may be of interest to a person who is scanning through infoboxes of many games and does not want to read the entire game description page. For example: "won 2nd place in the XYZ game design contest". Please be responsible and don't add paragraphs of text
footnotes=This game was played by Neil Armstrong and Buzz Aldrin during the Apollo 11 moon-landing mission.