Template:Infobox game: Difference between revisions

From fattwiki
(Add TemplateData to make infobox work with visual editor)
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 20: Line 20:
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
=== Syntax ===
{{Infobox Game
<pre>{{Infobox game
  | title      = Example
| title      =
  | image      = Example
| image      =
  | caption    = Example
| caption    =
  | creators    = Example
| creators    =
  | players    = Example
| players    =
  | link        = Example
| link        =
  | appears_in  = Example
| appears_in  =
}}</pre>
 
=== Example ===
{{Infobox game
  | title      = World Wide Wrestling
  | image      =  
  | caption    =  
  | creators    = Nathan D. Paoletta
  | players    = 3-9
  | link        = [https://ndpdesign.com/wwwrpg Official site]
  | appears_in  = [[The Grapplers Down at Promenade Arena]]
}}
}}
</pre>
<pre>{{Infobox game
| title      = World Wide Wrestling
| image      =
| caption    =
| creators    = Nathan D. Paoletta
| players    = 3-9
| link        = [https://ndpdesign.com/wwwrpg Official site]
| appears_in  = [[The Grapplers Down at Promenade Arena]]
}}</pre>
<templatedata>
<templatedata>
{
{
Line 81: Line 100:
"suggested": true
"suggested": true
}
}
}
},
"description": "This template can be used to create an infobox for an RPG that has been played on the show."
}
}
</templatedata>
</templatedata>
[[Category:Infoboxes]]</noinclude>
[[Category:Infoboxes]]</noinclude>

Revision as of 14:55, 23 November 2023

Syntax

{{Infobox game
 | title       = 
 | image       = 
 | caption     = 
 | creators    = 
 | players     = 
 | link        = 
 | appears_in  = 
}}

Example

{{Infobox game
 | title       = World Wide Wrestling
 | image       = 
 | caption     = 
 | creators    = Nathan D. Paoletta
 | players     = 3-9
 | link        = [https://ndpdesign.com/wwwrpg Official site]
 | appears_in  = [[The Grapplers Down at Promenade Arena]]
}}

This template can be used to create an infobox for an RPG that has been played on the show.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the game

Default
Defaults to page name
Example
World Wide Wrestling
Contentrequired
Imageimage

Game cover art

Example
World Wide Wrestling RPG.png
Stringoptional
Captioncaption

Image caption

Example
Cover art
Contentoptional
Creator(s)creators

Creator(s) of the game

Example
Nathan D. Paoletta
Contentsuggested
Playersplayers

Number of players the game is designed for

Example
3-9
Contentoptional
Linklink

External link to the game

Example
[https://ndpdesign.com/wwwrpg Official site]
Contentsuggested
Appears Inappears_in

Episodes, arcs, or seasons of Friends at the Table where the game is played

Example
[[The Grapplers Down at Promenade Arena]]
Contentsuggested