Difference between revisions of "Template:Map"
m |
m |
||
(6 intermediate revisions by one user not shown) | |||
Line 18: | Line 18: | ||
</tr>{{#if:{{{thread|}}}| | </tr>{{#if:{{{thread|}}}| | ||
<tr> | <tr> | ||
− | <td colspan="2">[{{{thread}}} Discussion Thread]|[[Category:Maps with missing discussion thread]] | + | <td colspan="2">[{{{thread}}} Discussion Thread]</td> |
− | + | </tr>|[[Category:Maps with missing discussion thread]]}}{{#if:{{{version|}}}| | |
<tr> | <tr> | ||
<td>Version</td> | <td>Version</td> | ||
− | <td> | + | <td>[[{{{version}}}]]</td> |
− | + | </tr>|[[Category:Maps with unknown version]]}}{{#if:{{{date|}}}| | |
<tr> | <tr> | ||
<td>Date Posted</td> | <td>Date Posted</td> | ||
Line 38: | Line 38: | ||
</table>[[Category:Maps]] | </table>[[Category:Maps]] | ||
− | {{#ifexist:File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]]|This map has no preview. Please | + | {{#ifexist:File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]]|This map has no preview. Please [[File:{{PAGENAME}}.png|upload an image of the map]].[[Category:Maps missing image]]}}</includeonly><noinclude> |
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
==Use== | ==Use== |
Latest revision as of 14:17, 1 December 2014
Use
Put this template above the text about a map. It will handle categorization and display the information nicely. Upload thumbnail at PAGENAMEsmall.png and main image at PAGENAME.png, they'll appear automatically. Name on Github should be synchronized with name on here for easy downloading and finding.
Parameter use:
{{map| |height= height of map |width= width of map |author= author of map |date= date posted |version= SMAX or SMAC |host= original host of file |download= direct download link (optional, defaults to pagename in the github repository) |thread= discussion thread |fanficlink= link to fanfiction |fanficname= name of fanfiction (optional) }}
Copyable template:
{{map| |height=40 |width=80 |author=Darsnan |date=21/08/2001 |version=SMAX |host=Apolyton |download= |thread= |fanficlink= |fanficname= }}