Template:Infobox/Homebrew: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
(match page title)
(convert to wrapper)
Line 1: Line 1:
<div class="infobox">
{{Infobox
| title  = {{{title|{{PAGENAME}}}}}
| image  = {{{image}}}


<div class="infobox-title">
| title1 = Author
{{{title|{{PAGENAME}}}}}
| param1 = {{{author}}}
</div>


<div class="infobox-image">
| title2 = Type
[[File:{{{image}}}|300px]]
| param2 = {{{type}}}
</div>
 
<table>
| title3 = Version
<tr>
| param3 = {{{version}}}
<th colspan="2" class="subheader">Information</th>
 
</tr>
| title4 = License
{{#if:{{{author|}}}|<tr>
| param4 = {{{license}}}
    <th>Author</th>
 
    <td>{{{author}}}</td>
| title5 = Website
</tr>}}
| param5 = {{{website}}}
{{#if:{{{type|}}}|<tr>
 
    <th>Type</th>
| title6 = Source
    <td>{{{type}}}</td>
| param6 = {{{source}}}
</tr>}}
 
{{#if:{{{version|}}}|<tr>
| title7 = Download
    <th>Version</th>
| param7 = {{{download}}}
    <td>{{{version}}}</td>
}}
</tr>}}
{{#if:{{{license|}}}|<tr>
    <th>License</th>
    <td>{{{license}}}</td>
</tr>}}
{{#if:{{{website||source||download|}}}|<tr>
<th class="subheader" colspan="2">Links</th>
</tr>}}
{{#if:{{{website|}}}|<tr>
    <th>Website</th>
    <td>{{{website}}}</td>
</tr>}}
{{#if:{{{source|}}}|<tr>
    <th>Source</th>
    <td>{{{source}}}</td>
</tr>}}
{{#if:{{{download|}}}|<tr>
    <th>Download(s)</th>
    <td>{{{download}}}</td>
</tr>}}


</table>
</div>
<noinclude>
<noinclude>
== Usage ==
== Usage ==

Revision as of 14:04, 26 October 2024

Infobox/Homebrew

[[File:{{{image}}}|300px]]

Information
Author {{{author}}}
Type {{{type}}}
Version {{{version}}}
License {{{license}}}
Links
Website {{{website}}}
Source {{{source}}}
Download {{{download}}}



Usage

{{Infobox/Homebrew
|title = Swiss
|image = xodelogo.png
|author = Sigmund Frued
|type = ODE (Optical Drive Emulator)
|version = 5.4.0.21
|license = [http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2]
|website = https://www.bing.com
|source = https://www.duckduckgo.com
|download = https://www.google.com
}}




Example

Swiss

Xodelogo.png

Information
Author Sigmund Freud
Type ODE (Optical Drive Emulator)
Version 5.4.0.21
License GNU GPL v2
Links
Website https://www.bing.com
Source https://www.duckduckgo.com
Download https://www.google.com