Difference between revisions of "User:Blackbird/Template"
From PCGamingWiki, the wiki about fixing PC games
Line 1: | Line 1: | ||
− | + | <table class="vertical-navbox template-infobox" id="infobox-game"> | |
− | + | <caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Games]] }}</includeonly></caption> | |
− | + | {{#ogpdescription:{{PAGENAME}} at PCGamingWiki - bugs, fixes, crashes, mods, guides and improvements for every PC game.}} | |
− | {{#if:{{{cover|}}}| | + | {{#if: {{{cover|}}} | |
− | + | <tr> | |
+ | <td class="template-infobox-cover" colspan="2">[[File:{{#ogpimage:{{{cover}}}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]]</td> | ||
+ | </tr> | ||
}} | }} | ||
− | + | ||
− | {{ | + | {{#if: {{{developers|}}} | |
− | {{ | + | <tr> |
− | {{ | + | <th class="template-infobox-header" colspan="2">Developers</th> |
− | {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} at Wikipedia]]</div> | + | </tr> |
− | + | {{{developers}}}|<includeonly>[[Category:Invalid template usage (infobox game)]]</includeonly> | |
− | <!--{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}--> | + | }} |
+ | <!-- Release dates --> | ||
+ | {{#if: {{{release dates|}}}| | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Release dates</th> | ||
+ | </tr> | ||
+ | {{{release dates|}}}|<includeonly>[[Category:Pages with no release dates]]</includeonly> | ||
+ | }} | ||
+ | <!-- Icons --> | ||
+ | {{#if: {{{wikipedia|}}}| | ||
+ | <tr> | ||
+ | -->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} at Wikipedia]]</div> }}</td> | ||
+ | </tr> | ||
+ | }}<!-- Hidden properties | ||
+ | -->{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}<!-- | ||
+ | --></table> |
Revision as of 22:46, 30 July 2017
{{#ogpdescription:Blackbird/Template at PCGamingWiki - bugs, fixes, crashes, mods, guides and improvements for every PC game.}}