Template:Infobox Game Fancy: Difference between revisions
imported>Umjahwa (guessing game length is working!) |
imported>Umjahwa m (Started cleaning up the user-readable text) |
||
Line 63: | Line 63: | ||
Change list: |
Change list: |
||
* Added player count, game length, and rule complexity icons |
* Added player count, game length, and rule complexity icons |
||
* Added options for "game_length" |
* Added options for "game_length", "trios", "game_mechanics", "game_status", & "release_year" |
||
* Compressed min & max |
* 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! |
|||
* Added logic to hide most lines when the parameter is left blank (should look cleaner and work better on mobile browsers). Note: due to this coding, the box at right does not show all of the available input parameters. |
|||
** Omitted or empty parameters will be automatically hidden. (looks cleaner) |
|||
* Fixed some of the mapping of input values to semantic properties (now using Lua scripts!) |
|||
** 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). |
|||
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 72: | Line 74: | ||
'''Infobox_Game_Fancy''' instructions: |
'''Infobox_Game_Fancy''' instructions: |
||
To display a game |
To display a game infobox on a game entry, enter the following code at the very top of the page: |
||
<pre><nowiki> |
<pre><nowiki> |
||
Line 94: | Line 96: | ||
| strategy= |
| strategy= |
||
| random_chance= |
| random_chance= |
||
| game_mechanics= |
|||
| mechanic1= |
| mechanic1= |
||
| mechanic2= |
| mechanic2= |
||
Line 104: | Line 107: | ||
</nowiki></pre> |
</nowiki></pre> |
||
Each keyword on the left is used to fill in the appropriate section of the |
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. |
||
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. |
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.] |
||
'''''Game'' => subject_name''' |
'''''Game'' => subject_name''' |
Revision as of 17:31, 10 November 2016
Game | ||
---|---|---|
unknown Designer | ||
(Image) | ||
Description | ||
File:SymbolPlayers.png | Players: | |
File:SymbolTime.png | Length: | unknown |
File:SymbolComplexity.png | Complexity: | unknown |
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).
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= | mechanic1= | mechanic2= | theme= | BGG_Link= | footnotes= | game_status= | release_year= }}
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.
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.]
Game => subject_name
- The name of the game.
subject_name=Zendo
Designer => designer
- 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) => image_link
- 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 => description
- A brief explanation (up to 50 words) of the game.
description=A fast-paced, multiplayer game with a 'Treasure Hunter' theme that is played on a checker board.
Min. Players: => min_players
- The fewest number of players required to play the game. Solitaire games use the value '1'.
min_players=3
Max. Players: => max_players
- The most players who can play the game simultaneously.
max_players=100
Length: => game_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)
game_length=Fast
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.
complexity=Simple
Trios: => trios
- The minimum number of Looney pyramid trios needed to play the game.
trios=3
Icehouse stashes: => stashes
- The minimum number of Icehouse pyramid stashes (5 pyramids of each size in a single color) required to play the game.
stashes=4
Treehouse sets: => sets
- The minimum number of Treehouse sets (5 pyramids of each size in 5 colors) required to play the game.
sets=2
Other equipment: => other_equip
- 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.
other_equip=Six D10 dice, two decks of Pinochle cards.
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.
setup_time=5 Min
Min. Playing time: => min_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.
min_playing_time=10 Min
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.
max_playing_time=180 Min
Strategy depth: => 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.
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
Primary Mechanic: => mechanic1
- The primary mechanic of the game in a single word/phrase. Typical values include: Stacking, Sorting, Matching, Elimination, Area control, etc.
mechanic1=Stacking
Additional Mechanic: => mechanic2
- Another mechanic used in the game. See Primary Mechanic (mechanic1).
mechanic2=Capture
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.
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.
BGG_Link=[http://www.boardgamegeek.com/boardgame/21955 Treehouse]
Footnotes => footnotes
- 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.
footnotes=This game was played by Neil Armstrong and Buzz Aldrin during the Apollo 11 moon-landing mission.