Template:Infobox/Homebrew: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
(test)
(parameter checks (we really ought to copy the enwiki module, but alas, no scribunto))
Line 1: Line 1:
{{Infobox
{{Infobox
| title  = {{{title|{{PAGENAME}}}}}
| title  = {{{title|{{PAGENAME}}}}}
| image  = {{{image|}}}
| image  = {{{image}}}


{{#if:{{{author|}}}|
| title1 = Author
| title1 = Author
| param1 = {{{author|}}}
| param1 = {{{author}}}
 
}}
{{#if:{{{type|}}}|
| title2 = Type
| title2 = Type
| param2 = {{{type|}}}
| param2 = {{{type}}}
 
}}
{{#if:{{{version|}}}|
| title3 = Version
| title3 = Version
| param3 = {{{version|}}}
| param3 = {{{version}}}
 
}}
{{#if:{{{license|}}}|
| title4 = License
| title4 = License
| param4 = {{{license|}}}
| param4 = {{{license}}}
 
}}
{{#if:{{{website|}}}|
| title5 = Website
| title5 = Website
| param5 = {{{website|}}}
| param5 = {{{website}}}
 
}}
{{#if:{{{source|}}}|
| title6 = Source
| title6 = Source
| param6 = {{{source|}}}
| param6 = {{{source}}}
 
}}
{{#if:{{{download|}}}|
| title7 = Download
| title7 = Download
| param7 = {{{download|}}}
| param7 = {{{download}}}
}}
}}
}}



Revision as of 14:11, 26 October 2024

Infobox/Homebrew

[[File:{{{image}}}

title1 = Author title2 = Type title3 = Version title4 = License title5 = Website title6 = Source title7 = Download|300px]]

Information
{{{title1}}} {{{param1}}}
{{{title2}}} {{{param2}}}
{{{title3}}} {{{param3}}}
{{{title4}}} {{{param4}}}
Links
{{{title5}}} {{{param5}}}
{{{title6}}} {{{param6}}}
{{{title7}}} {{{param7}}}



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
{{{title1}}} {{{param1}}}
{{{title2}}} {{{param2}}}
{{{title3}}} {{{param3}}}
{{{title4}}} {{{param4}}}
Links
{{{title5}}} {{{param5}}}
{{{title6}}} {{{param6}}}
{{{title7}}} {{{param7}}}