v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Infobox utility"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{infostart|{{{name|{{PAGENAME}}}}}}} {{#if:{{{image<includeonly>|</includeonly>}}}|<!-- -->{{infocell|[[{{{image|File:DFDefault.png}}}|200px]]}}}} {{infoheader|Information}}...")
 
m (Protected "Template:Infobox utility": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{infostart|{{{name|{{PAGENAME}}}}}}}
+
<table class="infobox" style="border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa;<!--
{{#if:{{{image<includeonly>|</includeonly>}}}|<!--
+
                          -->color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; <!--
-->{{infocell|[[{{{image|File:DFDefault.png}}}|200px]]}}}}
+
                          -->font-size: 88%; line-height: 1.5em; width: 200px; {{{style|}}}"><!--
{{infoheader|Information}}
+
  --><caption colspan="2" style="{{{titlestyle|}}}">'''{{{name|{{PAGENAME}}}}}'''</caption><!--
{{#if:{{{developer<includeonly>|</includeonly>}}}|
+
  --><tr><td colspan="2">[[{{{image|File:DFDefault.png}}}|200px]]</td></tr><!--
{{!}}-
+
  --><tr><th colspan="2" class="{{{class|}}}" style="text-align:center;">'''Information'''</th></tr><!--
{{!}} Developer(s)  
+
  -->{{#if:{{{developer<includeonly>|</includeonly>}}}|<!--
{{!}} {{{developer}}}
+
    --><tr><td>Developer(s)</td><td>{{{developer}}}}}</td></tr><!--
}}
+
  -->{{#if:{{{homepage<includeonly>|</includeonly>}}}|<!--
{{#if:{{{forum<includeonly>|</includeonly>}}}|
+
    --><tr><td>Home Page(s)</td><td>{{{homepage}}}}}</td></tr><!--
{{!}}-
+
  -->{{#if:{{{download<includeonly>|</includeonly>}}}|<!--
{{!}} Bay12Thread
+
    --><tr><td>Download</td><td>{{{download}}}}}</td></tr><!--
{{!}} {{{website}}}
+
  -->{{#if:{{{forum<includeonly>|</includeonly>}}}|<!--
}}
+
    --><tr><td>Forum</td><td>{{{forum}}}}}</td></tr><!--
{{#if:{{{website<includeonly>|</includeonly>}}}|
+
  -->{{#if:{{{1|}}}{{{misc|}}}|<!--
{{!}}-
+
    --><tr><td colspan=2>
{{!}} Developer(s)
+
{{{misc|}}}}}{{{1|}}}</td></tr>
{{!}} {{{website}}}
+
</table><noinclude>
}}
 
{{infoend}}<noinclude>
 
  
 +
==Usage==
 +
All parameters are optional. Empty template:
 +
<pre>{{Infobox utility
 +
| image    =
 +
| developer =
 +
| homepage  =
 +
| download  =
 +
| forum    =
 +
}}</pre>
 +
 +
For example:
 +
<pre>{{Infobox utility
 +
| image    = File:SomeImage.png
 +
| developer = name/names
 +
| homepage  = [www.me.site name]
 +
| download  = [https://dffd.bay12games.com/something dfdfd]
 +
| forum    = [http://www.bay12forums.com/smf/index.php?topic=140808 Bay 12 Forum]
 +
}}</pre>
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 03:01, 21 January 2023

Infobox utility
DFDefault.png
Information
Developer(s){{{developer}}}
Home Page(s){{{homepage}}}
Download{{{download}}}
Forum{{{forum}}}

Usage

All parameters are optional. Empty template:

{{Infobox utility
| image     = 
| developer =
| homepage  =
| download  =
| forum     =
}}

For example:

{{Infobox utility
| image     = File:SomeImage.png
| developer = name/names
| homepage  = [www.me.site name]
| download  = [https://dffd.bay12games.com/something dfdfd] 
| forum     = [http://www.bay12forums.com/smf/index.php?topic=140808 Bay 12 Forum]
}}