Template:Game: Difference between revisions
Add syntax for series
Nikitaivanov (talk | contribs) mNo edit summary |
-u ndefined- (talk | contribs) (Add syntax for series) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|label3=GUID | |label3=GUID | ||
|data3=[https://play.fancade.com/{{{guid}}} {{{guid}}}] | |data3=[https://play.fancade.com/{{{guid}}} {{{guid}}}] | ||
|header9={{#if:{{{series|}}}|Series}} | |||
|data9={{#if:{{{series|}}}| | |||
<table style="width: 100%"> | |||
<tr><th colspan="2" style="text-align: center">{{{series}}}</th></tr> | |||
<tr><td style="text-align: left">{{#if:{{{previousgame|}}}|← {{{previousgame}}}}}</td><td style="text-align: right">{{#if:{{{nextgame|}}}|{{{nextgame}}} →}}</td></tr> | |||
</table> | |||
}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
'''Game''' is an [[Template:Infobox|infobox]] for games. | |||
== Example == | |||
{{Game | |||
|guid=5C9791AF15FB9DF9 | |||
|title=1024 | |||
|author=Tzomby | |||
}} | |||
<pre><nowiki> | |||
{{Game | {{Game | ||
|guid=5C9791AF15FB9DF9 | |guid=5C9791AF15FB9DF9 | ||
Line 14: | Line 33: | ||
|author=Tzomby | |author=Tzomby | ||
}} | }} | ||
</nowiki></pre> displays the following on the right. | |||
== Parameters == | |||
Keywords: | |||
* '''guid''': The ID of the game, used for linking to Fancade and displaying the image. | |||
* '''title''': Title of the game. If unspecified, defaults to the page name. | |||
* '''author''': Author of the game. | |||
* '''series''': Name of the series. | |||
** '''previousgame''': Title of the previous game in the series. | |||
** '''nextgame''': Title of the next game in the series. | |||
[[Category:Infoboxes]] | |||
</noinclude> | </noinclude> |