Template:Fangame: Difference between revisions
From Bibliotheca Anonoma
Antonizoon (talk | contribs) No edit summary |
Antonizoon (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category: Infobox]][[Category: Templates]][[Category: Cargo Templates]] | ||
This is | {{Template}} | ||
<pre> | This is a [[Cargo]] template wrapped in an infobox used for [[:Category:Fangames|Fangames]]. | ||
When adding columns, make sure to edit [[Module:InfoboxFangame]] as well. | |||
== Usage == | |||
<pre><nowiki> | |||
{{Fangame | {{Fangame | ||
|image= | | image = test.png | ||
|caption= | | caption = This '''image''' is a test image that is found on Wikimedia Commons. | ||
|platform= | | platform = Windows, Mac, Linux | ||
|franchise= | | franchise = Super Mario Bros | ||
|release_date= | | release_date = 2016-08-01 | ||
|takedown_date= | | takedown_date = 2016-08-02 | ||
| homepage_url = https://test.url | |||
|homepage_url= | | community_url = https://reddit.com/r/community | ||
|community_url= | | download_url = https://archive.org/details/test | ||
|download_url= | |||
}} | }} | ||
</pre> | </nowiki></pre> | ||
{{#cargo_declare: | |||
{{#cargo_declare:_table=Fangames|image=File|caption=Text|platform=List (,) of Text|franchise=Text|release_date=Date|takedown_date=Date | _table=Fangames | ||
</noinclude><includeonly>{{#cargo_store:_table=Fangames|image={{{image|}}}|caption={{{caption|}}}|platform={{{platform|}}}|franchise={{{franchise|}}}|release_date={{{release_date|}}}|takedown_date={{{takedown_date|}}} | |image=File | ||
|caption=Text | |||
|platform=List (,) of Text | |||
|franchise=Text | |||
|release_date=Date | |||
|takedown_date=Date | |||
|homepage_url=URL | |||
| {{{caption|}}} | |community_url=URL | ||
| | |download_url=URL | ||
}}</noinclude> | |||
<includeonly> | |||
| | {{#cargo_store: | ||
_table=Fangames | |||
| image = {{{image|}}} | |||
| | | caption = {{{caption|}}} | ||
| platform = {{{platform|}}} | |||
| franchise = {{{franchise|}}} | |||
| | | release_date = {{{release_date|}}} | ||
| takedown_date = {{{takedown_date|}}} | |||
| homepage_url = {{{homepage_url|}}} | |||
| | | community_url = {{{community_url|}}} | ||
| download_url = {{{download_url}}} | |||
}}{{#invoke: InfoboxFangame | default | |||
| | | image = {{{image|<div style="margin-top:-20px;"></div>}}} <!-- If there is no image, removes one line break --> | ||
| caption = {{{caption|}}} | |||
| platform = {{{platform|{{Gray|Unknown}}}}} | |||
| | | franchise = {{{franchise|{{Gray|N/A}}}}} | ||
| release_date = {{{release_date|{{Gray|Unknown}}}}} | |||
| takedown_date = {{{takedown_date|{{Gray|Unknown}}}}} | |||
| | | mod = {{{mod|No}}} | ||
| homepage_url = {{{homepage_url|{{Gray|Unknown}}}}} | |||
| community_url = {{{community_url|{{Gray|Unknown}}}}} | |||
| download_url = {{{download_url|{{Gray|Unknown}}}}} | |||
}}[[Category:Fangames]]</includeonly> | |||
[[Category:Fangames]] | |||
</includeonly> |
Latest revision as of 01:19, 3 September 2018
This page is a template. It contains no Bibliotheca Anonoma-related information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.This is a Cargo template wrapped in an infobox used for Fangames.
When adding columns, make sure to edit Module:InfoboxFangame as well.
Usage[edit]
{{Fangame | image = test.png | caption = This '''image''' is a test image that is found on Wikimedia Commons. | platform = Windows, Mac, Linux | franchise = Super Mario Bros | release_date = 2016-08-01 | takedown_date = 2016-08-02 | homepage_url = https://test.url | community_url = https://reddit.com/r/community | download_url = https://archive.org/details/test }}
{{#cargo_declare: _table=Fangames
|image=File |caption=Text |platform=List (,) of Text |franchise=Text |release_date=Date |takedown_date=Date |homepage_url=URL |community_url=URL |download_url=URL
}}