Difference between revisions of "Template:ShaderInfobox"

From RRe36's Project Wiki
Jump to navigation Jump to search
 
(24 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
|VisualStyle=
 
|VisualStyle=
 
|PerformanceCost=
 
|PerformanceCost=
 +
|LicenseType=
 +
|LicenseURL=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{| class="wikitable" style="max-width:30%; float:right; margin-top:0px; margin-left:8px;"
  <div class="infobox float-right" id="shaderInfobox" summary="Shaderpack Infobox" style="border:1px solid lightsteelblue; padding:5px; width:25em; margin:0 0 0.5em 1em; font-size:85%; background:#F9F9F9;">
+
!colspan="2" style="background-color: #67b544;"|{{PAGENAME}}
    <div style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;">{{PAGENAME}}</div>
+
|-
+
|colspan="2"| <div style="max-width:500px; overflow:auto;">{{{BannerImage}}}</div>
{| style="width:100%; margin:0; text-align:left;"
+
|-
+
|'''Project Page'''
|-
+
|{{{ProjectPage}}}
!colspan="2"| {{#if:{{{BannerImage|}}} | {{{BannerImage}}} }}
+
|-
+
|'''Latest Version'''
|-
+
|{{{LatestVersion}}}
!colspan="2"| {{#if:{{{ProjectPage|}}} | Project Page {{!!}} {{{ProjectPage}}} }}
+
|-
+
|'''Last Updated'''
|-
+
|{{{LastUpdated}}}
!colspan="2"| {{#if:{{{LatestVersion|}}} | Latest Version {{!!}} {{{LatestVersion}}} }}
+
|-
+
|'''Visual Style'''
|-
+
|{{{VisualStyle}}}
!colspan="2"| {{#if:{{{LastUpdated|}}} | Last Updated {{!!}} {{{LastUpdated}}} }}
+
|-
+
|'''Performance Cost'''
|-
+
|{{{PerformanceCost}}}
+
|-
|}
+
|'''License'''
  </div>
+
|[{{{LicenseURL}}} {{{LicenseType}}}]
</includeonly>
+
|}</includeonly>

Latest revision as of 12:18, 24 September 2021

This is the "ShaderInfobox" template. It should be called in the following format:

{{ShaderInfobox
|BannerImage=
|ProjectPage=
|LatestVersion=
|LastUpdated=
|VisualStyle=
|PerformanceCost=
|LicenseType=
|LicenseURL=
}}

Edit the page to see the template text.