Difference between revisions of "Template:ModifiedContentBox"

From Valve Cut Content
Jump to: navigation, search
m
(aggressive gallery support)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| title = {{contenttype}}
+
| title = {{{contenttype}}}
|image1={{#if: {{{image2|}}} | [[File:{{{image1}}}|300px]]|}}  
+
| titlestyle= background-color: #4c5844; border: 1px solid #a2a089;
 +
| headerstyle = background-color: #4c5844; border: 1px solid #a2a089;
 +
| labelstyle = background-color: #4c5844; border: 1px solid #a2a089;
 +
|child = {{{ischild}}}
 +
|subbox = {{{issubbox}}}
 +
|bodystyle = {{{styling}}}
 +
|image1={{#if:{{{gallery|}}}
 +
|{{{gallery}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image1|}}} | [[File:{{{image1}}}|300px]]|}}}} <!-- IF: Normal -->
 
|caption1={{#if: {{{caption1|}}} |{{{caption1}}} |}}
 
|caption1={{#if: {{{caption1|}}} |{{{caption1}}} |}}
|image2={{#if: {{{image2|}}} | [[File:{{{image2}}}|300px]]|}}  
+
|image2={{#if:{{{gallery2|}}}
 +
|{{{gallery2}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image2|}}} | [[File:{{{image2}}}|300px]]|}}}} <!-- IF: Normal -->
 
|caption2={{#if: {{{caption2|}}} |{{{caption2}}} |}}
 
|caption2={{#if: {{{caption2|}}} |{{{caption2}}} |}}
|image3={{#if: {{{image3|}}} | [[File:{{{image3}}}|300px]]|}}  
+
|image3={{#if:{{{gallery3|}}}
 +
|{{{gallery3}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image3|}}} | [[File:{{{image3}}}|300px]]|}}}} <!-- IF: Normal -->
 
|caption3={{#if: {{{caption3|}}} |{{{caption3}}} |}}
 
|caption3={{#if: {{{caption3|}}} |{{{caption3}}} |}}
|image4={{#if: {{{image3|}}} | [[File:{{{image3}}}|300px]]|}}  
+
|image4={{#if:{{{gallery4|}}}
|caption4={{#if: {{{caption3|}}} |{{{caption3}}} |}}
+
|{{{gallery4}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image4|}}} | [[File:{{{image4}}}|300px]]|}}}} <!-- IF: Normal -->
 +
|gallery4={{#if: {{{gallery4|}}} | {{{gallery4}}}|}}  
 +
|caption4={{#if: {{{caption4|}}} |{{{caption4}}} |}}
 +
|image5={{#if:{{{gallery5|}}}
 +
|{{{gallery5}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image5|}}} | [[File:{{{image5}}}|300px]]|}}}} <!-- IF: Normal -->
 +
|gallery5={{#if: {{{gallery5|}}} | {{{gallery5}}}|}}
 +
|caption5={{#if: {{{caption5|}}} |{{{caption5}}} |}}
 +
|image6={{#if:{{{gallery6|}}}
 +
|{{{gallery6}}} <!-- IF: Gallery-->
 +
|{{#if: {{{image6|}}} | [[File:{{{image6}}}|300px]]|}}}} <!-- IF: Normal -->
 +
|gallery6={{#if: {{{gallery6|}}} | {{{gallery6}}}|}}
 +
|caption6={{#if: {{{caption6|}}} |{{{caption6}}} |}}
 
|  header1 = Information
 
|  header1 = Information
 +
| label1 = {{#if: {{{engine|}}} | Engine Version |}}
 +
| data1 = {{#if: {{{engine|}}} | {{{engine}}} |}}
 
| label2 = {{#if: {{{description|}}} | Description |}}
 
| label2 = {{#if: {{{description|}}} | Description |}}
 
| data2 = {{#if: {{{description|}}} | {{{description}}} |}}
 
| data2 = {{#if: {{{description|}}} | {{{description}}} |}}
Line 28: Line 55:
 
|image4=Example
 
|image4=Example
 
|caption4=Example
 
|caption4=Example
 +
|engine=Example <!-- the version the MODIFIED content is for (2003 Leak, source 2013, CS:GO, VTMB etc) -->
 
|link=Example<!-- link to download/tutorial if any -->
 
|link=Example<!-- link to download/tutorial if any -->
 
|description=Example<!-- how was the content modified? (changing textures to something else) -->
 
|description=Example<!-- how was the content modified? (changing textures to something else) -->
 +
}}
 +
</pre>
 +
 +
An example with things replaced
 +
<pre>
 +
{{ModifiedContentBox
 +
| contenttype = Recreation
 +
| image1 = V4_zoomin.png
 +
| engine = Source 2013
 +
| link = [https://www.youtube.com/ download]
 +
| description = recreated using textures only
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 06:56, 15 December 2020

{{{contenttype}}}
Information

Example usage:

{{ModifiedContentBox
|contenttype=Modified Content <!-- Recreation? Fix? etc -->
<!-- Put comparison images here, perhaps including the original an definitely including the modified version -->
|image1=Example
|caption1=Example
|image2=Example
|caption2=Example
|image3=Example
|caption3=Example
|image4=Example
|caption4=Example
|engine=Example <!-- the version the MODIFIED content is for (2003 Leak, source 2013, CS:GO, VTMB etc) -->
|link=Example<!-- link to download/tutorial if any -->
|description=Example<!-- how was the content modified? (changing textures to something else) -->
}}

An example with things replaced

{{ModifiedContentBox
| contenttype = Recreation
| image1 = V4_zoomin.png
| engine = Source 2013
| link = [https://www.youtube.com/ download]
| description = recreated using textures only
}}