Difference between revisions of "Template:ShaderInfobox"

From RRe36's Project Wiki
Jump to navigation Jump to search
 
(28 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;"
<table>
+
!colspan="2" style="background-color: #67b544;"|{{PAGENAME}}
<tr><td colspan="2">{{PAGENAME}}</td></tr>
+
|-
{{#ifexist:|BannerImage| <tr><td colspan="2"><img src="{{{BannerImage|}}}" alt="{{PAGENAME}} Banner"></tr> | }}
+
|colspan="2"| <div style="max-width:500px; overflow:auto;">{{{BannerImage}}}</div>
<tr><td>Project Page</td><td>{{{ProjectPage|}}}</td></tr>
+
|-
</table>
+
|'''Project Page'''
</includeonly>
+
|{{{ProjectPage}}}
 +
|-
 +
|'''Latest Version'''
 +
|{{{LatestVersion}}}
 +
|-
 +
|'''Last Updated'''
 +
|{{{LastUpdated}}}
 +
|-
 +
|'''Visual Style'''
 +
|{{{VisualStyle}}}
 +
|-
 +
|'''Performance Cost'''
 +
|{{{PerformanceCost}}}
 +
|-
 +
|'''License'''
 +
|[{{{LicenseURL}}} {{{LicenseType}}}]
 +
|}</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.