Difference between revisions of "Template:MapInfoBox"

From Valve Cut Content
Jump to: navigation, search
(fix)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
| title = {{PAGENAME}}
 
| title = {{PAGENAME}}
|image1={{#if: {{{image2|}}} | [[File:{{{image1}}}|300px]]|}}  
+
|image1={{#if: {{{image1|}}} | [[File:{{{image1}}}|300px]]|}}  
 
|caption1={{#if: {{{caption1|}}} |{{{caption1}}} |}}
 
|caption1={{#if: {{{caption1|}}} |{{{caption1}}} |}}
 
|image2={{#if: {{{image2|}}} | [[File:{{{image2}}}|300px]]|}}  
 
|image2={{#if: {{{image2|}}} | [[File:{{{image2}}}|300px]]|}}  
Line 14: Line 14:
 
| label4 = {{#if: {{{leak|}}} | Leak |}}
 
| label4 = {{#if: {{{leak|}}} | Leak |}}
 
| data4 = {{#if: {{{leak|}}} | {{{leak}}} |}}
 
| data4 = {{#if: {{{leak|}}} | {{{leak}}} |}}
| label5 = {{#if: {{{mapdate|}}} | Usage |}}
+
| label5 = {{#if: {{{mapdate|}}} | Map Date|}}
 
| data5 = {{#if: {{{mapdate|}}} | {{{mapdate}}} |}}
 
| data5 = {{#if: {{{mapdate|}}} | {{{mapdate}}} |}}
 
| label6 = {{#if: {{{map_version|}}} | Map Date (last modified) |}}
 
| label6 = {{#if: {{{map_version|}}} | Map Date (last modified) |}}
Line 22: Line 22:
 
| label8 = {{#if: {{{editor_build|}}} | Map Date (NET) |}}
 
| label8 = {{#if: {{{editor_build|}}} | Map Date (NET) |}}
 
| data8 = {{#if: {{{editor_build|}}} | {{NETDate|editor_build={{{editor_build}}}}} |}}
 
| data8 = {{#if: {{{editor_build|}}} | {{NETDate|editor_build={{{editor_build}}}}} |}}
 +
}}
 
<!--
 
<!--
 
<infobox>
 
<infobox>

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