Template:Infobox Game: Difference between revisions

m
Fixed typos in description text and added implemented clean_theme Lua function
imported>Umjahwa
(Major update using the Infobox_Game_Fancy template (lets hope this works!))
imported>Umjahwa
m (Fixed typos in description text and added implemented clean_theme Lua function)
Line 61:
|- {{#if: {{{theme|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Theme:
| [[Primary Theme::{{#invoke: Infobox Tools | clean_theme | {{{theme|}}} }}]]
 
|- {{#if: {{{BGG_Link|}}} | | style="display: none;" }}
Line 74:
|}
<noinclude>
This is a new and improved infobox to accompany the resurrection of the wiki in Nov.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 moremost functionality provided by Categories and will greatly improve the searching and finding of gamegames.
 
'''Instructions for use of Infobox_Game:'''
Line 112:
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 valueparameter to be setname and the parameterrelated useddisplayed toin setthe itinfobox, followed by details about what it represents and exactly what needs to be set.
 
'''parameter name --> ''Display row in Infobox'''''
Line 123:
 
'''designer --> replaces ''Designer''''' (REQUIRED)
:The name (or names) of the person (or persons) who created the game. If that persondesigner has a page on icehousegames.org, you can enclose the name in double square brackets to provide a link to that person's page. Note: you also can link to a user page by typing <nowiki>[[User:USERNAME|display name]]</nowiki>
:<pre>designer=<nowiki>Andrew Looney</nowiki></pre>
 
'''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. '''Please do not set the size any larger than 250px!'''
:<pre>image_link=<nowiki>[[Image:Pic76724.jpg|250px|A Zendo game]]</nowiki></pre>
 
Line 137:
 
'''max_players --> ''Players:''' (right-hand side of dash)'' (optional but highly recommended)
:The minimum and maximum number of players that can play the game. When both values are provided, they will be seperatedseparated 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>max_players=100</pre>
 
'''game_length --> ''Length:''''' (optional but highly recommended)
:DescriptiveSingle 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>
 
Line 170:
 
'''max_playing_time --> ''Max. Playing time:''''' (optional)
: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 seperatedseparated 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>max_playing_time=180 Min</pre>
Line 183:
 
'''game_mechanics --> ''Game Mechanics:''''' (optional)
:Comma seperatedseparated 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>game_mechanics=Stacking, Programming</pre>
 
Line 191:
 
'''BGG_Link --> ''BGG Link:''''' (optional)
: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 BGG page is much better than a page with broken rules.
:<pre>BGG_Link=<nowiki>[http://www.boardgamegeek.com/boardgame/21955 Treehouse]</nowiki></pre>
 
Anonymous user