Difference between revisions of "Template:Map"

From Alpha Centauri Wiki
Jump to: navigation, search
(created map infobox template)
 
m
Line 15: Line 15:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td colspan="2">{{#if:{{{download|}}}|[{{{download}}} Download Map]|[https://github.com/etesp/Alpha-Centauri-Ultimate/blob/master/maps/planet.MP?raw=true Download]</td>
+
         <td colspan="2">[https://github.com/etesp/Alpha-Centauri-Ultimate/blob/master/maps/{{PAGENAME}}.MP?raw=true Download from Github]</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 41: Line 41:
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
==Use==
 
==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.
+
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:
 
Parameter use:

Revision as of 14:07, 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=
}}