Difference between revisions of "Template:MapInfoBox"
From Valve Cut Content
oldwiki>Livelong2 (add automated NET testing) |
oldwiki>Livelong2 (aaaa) |
||
Line 36: | Line 36: | ||
<label>Map Date (last modified)</label> | <label>Map Date (last modified)</label> | ||
</data> | </data> | ||
− | + | <group show="incomplete"> | |
− | + | <data source="mapdateNET"> | |
+ | <default>{{NETDate|{{{editor_build}}}}}</default> | ||
<label>Map Date (NET)</label> | <label>Map Date (NET)</label> | ||
+ | </group> | ||
</data> | </data> | ||
</group> | </group> | ||
Line 61: | Line 63: | ||
|mapversion=Example | |mapversion=Example | ||
<!-- More advanced info --> | <!-- More advanced info --> | ||
− | |editor_build | + | |editor_build=Example <!-- if you don't know what this is, check this out: |
− | |||
https://valvearchive.com/map-versions/ --> | https://valvearchive.com/map-versions/ --> | ||
}} | }} | ||
Line 83: | Line 84: | ||
|mapversion=Example | |mapversion=Example | ||
<!-- More advanced info --> | <!-- More advanced info --> | ||
− | |editor_build= | + | |editor_build=1234 <!-- find it by opening a vmf as a text file, first header --> |
− | |||
− | |||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 19:39, 22 January 2018
There is a problem with parsing the infobox
-
0
-
1<title source="title1">
-
2<default>{{PAGENAME}}</default>
-
3</title>
-
4<group collapse="open">
-
5<header>Screenshots</header>
-
6<image source="image1">
-
7<caption source="caption1"/>
-
8</image>
-
9<image source="image2">
-
10<caption source="caption2"/>
-
11</image>
-
12<image source="image3">
-
13<caption source="caption3"/>
-
14</image>
-
15</group>
-
16
-
17<group collapse="open">
-
18<header>Info</header>
-
19<data source="engine">
-
20<label>Engine</label>
-
21</data>
-
22<data source="game">
-
23<label>Game</label>
-
24</data>
-
25<data source="leak">
-
26<label>Leak</label>
-
27</data>
-
28<data source="map_version">
-
29<label>Map Version</label>
-
30</data>
-
31<data source="editor_build">
-
32<label>Editor Build</label>
-
33</data>
-
34<data source="mapdate">
-
35<label>Map Date (last modified)</label>
-
36</data>
-
37<group show="incomplete">
-
38<data source="mapdateNET">
-
39<default>{{NETDate|{{{editor_build}}}}}</default>
-
40<label>Map Date (NET)</label>
-
41</group>
-
42</data>
-
43</group>
-
44
Example usage:
{{MapInfoBox |title1=Example <!-- the map name with .vmf --> <!-- Sidebar images --> <!-- Use these to show what the map is, with some sweeping shots. Leave the whole gallery for below. --> |image1=Example |caption1=Example |image2=Example |caption2=Example |image3=Example |caption3=Example <!-- Basic Info --> |engine=Example <!-- Source Engine, Goldsrc, etc. --> |game=Example <!-- What game is this made for?--> |leak=Example <!-- Leak it originated from. Provide a link to the VCC wiki page where possible.--> |mapdate=Example <!-- Date of the map. If it has no static map date, or something obviously well after it was made, but N/A. --> |mapversion=Example <!-- More advanced info --> |editor_build=Example <!-- if you don't know what this is, check this out: https://valvearchive.com/map-versions/ --> }}
300px Example | |
300px Example | |
300px Example | |
Info | |
---|---|
Engine | Example |
Game | Example |
Leak | Example |
Map Date | Example |
Editor Build | 1234 |
Map Date (NET) | March 11, 2000 |