Difference between revisions of "Template:Map"

From Alpha Centauri Wiki
Jump to: navigation, search
m
m
 
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>
+
         <td colspan="2">[{{{thread}}} Discussion Thread]</td>
    </tr>}}{{#if:{{{version|}}}|
+
    </tr>|[[Category:Maps with missing discussion thread]]}}{{#if:{{{version|}}}|
 
     <tr>
 
     <tr>
 
         <td>Version</td>
 
         <td>Version</td>

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=
}}