Difference between revisions of "Template:MapInfoBox"

From Valve Cut Content
Jump to: navigation, search
m (11 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Infobox
 +
| title = {{PAGENAME}}
 +
|image1={{#if: {{{image1|}}} | [[File:{{{image1}}}|300px]]|}}
 +
|caption1={{#if: {{{caption1|}}} |{{{caption1}}} |}}
 +
|image2={{#if: {{{image2|}}} | [[File:{{{image2}}}|300px]]|}}
 +
|caption2={{#if: {{{caption2|}}} |{{{caption2}}} |}}
 +
|image3={{#if: {{{image3|}}} | [[File:{{{image3}}}|300px]]|}}
 +
|caption3={{#if: {{{caption3|}}} |{{{caption3}}} |}}
 +
|  header1 = Info
 +
| label2 = {{#if: {{{engine|}}} | Engine |}}
 +
| data2 = {{#if: {{{engine|}}} | {{{engine}}} |}}
 +
| label3 = {{#if: {{{game|}}} | Game |}}
 +
| data3 = {{#if: {{{game|}}} | {{{game}}} |}}
 +
| label4 = {{#if: {{{leak|}}} | Leak |}}
 +
| data4 = {{#if: {{{leak|}}} | {{{leak}}} |}}
 +
| label5 = {{#if: {{{mapdate|}}} | Map Date|}}
 +
| data5 = {{#if: {{{mapdate|}}} | {{{mapdate}}} |}}
 +
| label6 = {{#if: {{{map_version|}}} | Map Date (last modified) |}}
 +
| data6 = {{#if: {{{map_version|}}} | {{{map_version}}} |}}
 +
| label7 = {{#if: {{{editor_build|}}} | Editor Build |}}
 +
| data7 = {{#if: {{{editor_build|}}} | {{{editor_build}}} |}}
 +
| label8 = {{#if: {{{editor_build|}}} | Map Date (NET) |}}
 +
| data8 = {{#if: {{{editor_build|}}} | {{NETDate|editor_build={{{editor_build}}}}} |}}
 +
}}
 +
<!--
 
<infobox>
 
<infobox>
 
   <title source="title1">
 
   <title source="title1">
Line 43: Line 68:
 
   </group>
 
   </group>
 
   </group>
 
   </group>
</infobox>
+
</infobox>-->
 
<noinclude>
 
<noinclude>
 
Example usage:<pre>
 
Example usage:<pre>

Latest revision as of 09:31, 5 August 2022

MapInfoBox
Info

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/ -->
}}
MapInfoBox
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