Difference between revisions of "Template:ShaderInfobox"

From RRe36's Project Wiki
Jump to navigation Jump to search
Line 16: Line 16:
  
 
<includeonly>
 
<includeonly>
<div class="wikitable" 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;">
+
{| class="wikitable"
<div style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;">{{PAGENAME}}</div>
+
!colspan="2"|{{PAGENAME}}
+
|-
{| style="width:100%; margin:0; text-align:left;"
+
|colspan="2"|{{{BannerImage}}
 
|-
 
!colspan="2"| {{#if:{{{BannerImage|}}} | {{{BannerImage}}} }}
 
 
|-
 
!colspan="2"| {{#if:{{{ProjectPage|}}} | Project Page {{!!}} {{{ProjectPage}}} }}
 
 
|-  
 
!colspan="2"| {{#if:{{{LatestVersion|}}} | Latest Version {{!!}} {{{LatestVersion}}} }}
 
 
|-
 
!colspan="2"| {{#if:{{{LastUpdated|}}} | Last Updated {{!!}} {{{LastUpdated}}} }}
 
 
|-
 
 
 
|}
 
|}
  </div>
 
 
</includeonly>
 
</includeonly>

Revision as of 19:56, 27 March 2021

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

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

Edit the page to see the template text.