Template:Game: Difference between revisions

From Fancade Wiki
(Created page with "<includeonly>{{Infobox |title={{{title|{{PAGENAME}}}}} |image_url=https://fancade.com/images/{{{guid}}}.jpg |label1=Name |data1={{{title|{{PAGENAME}}}}} |label2=Author |data2={{{author}}} |label3=GUID |data3=[https://play.fancade.com/{{{guid}}} {{{guid}}}] }}</includeonly><noinclude> {{Game |guid=5C9791AF15FB9DF9 |title=1024 |author=Tzomby }} </noinclude>")
 
m (Migrate to Template:Documentation)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|title={{{title|{{PAGENAME}}}}}
|title={{{title|{{PAGENAME}}}}}
|image_url=https://fancade.com/images/{{{guid}}}.jpg
|image_url=https://fancade.com/images/{{{guid}}}.jpg
|label1=Name
|label1=Title
|data1={{{title|{{PAGENAME}}}}}
|data1={{{title|{{PAGENAME}}}}}
|label2=Author
|label2=Author
Line 8: Line 8:
|label3=GUID
|label3=GUID
|data3=[https://play.fancade.com/{{{guid}}} {{{guid}}}]
|data3=[https://play.fancade.com/{{{guid}}} {{{guid}}}]
}}</includeonly><noinclude>
|label4=Kit
{{Game
|data4={{#if:{{{guidkit|}}}|{{GUID|{{{guidkit}}}}}}}
|guid=5C9791AF15FB9DF9
|header9={{#if:{{{series|}}}|Series}}
|title=1024
|data9={{#if:{{{series|}}}|
|author=Tzomby
<table style="width: 100%">
<tr><th colspan="2" style="text-align: center">{{{series}}}</th></tr>
<tr><td style="text-align: left">{{#if:{{{previousgame|}}}|&LeftArrow; {{{previousgame}}}}}</td><td style="text-align: right">{{#if:{{{nextgame|}}}|{{{nextgame}}} &RightArrow;}}</td></tr>
</table>
}}
}}
</noinclude>
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:57, 23 August 2025

Description

This template provides an infobox for games.

Example

1024
5C9791AF15FB9DF9.jpg
Title1024
AuthorTzomby
GUID5C9791AF15FB9DF9
{{Game
|guid=5C9791AF15FB9DF9
|title=1024
|author=Tzomby
}}
displays the following on the right.

Parameters

Keywords:

  • title: Title of the game. If unspecified, defaults to the page name.
  • author: Author of the game.
  • guid: The ID of the game, used for linking to Fancade and displaying the image.
  • guidkit: The ID of the corresponding kit by the author.
  • series: Name of the series.
    • previousgame: Title of the previous game in the series.
    • nextgame: Title of the next game in the series.