Template:Demo Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "File:Media needed icon large.png" to "File:Wiki.png")
m (Text replacement - "|N/A}}}" to "|}}}")
Tags: Mobile edit Mobile web edit
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{| class="MDWiki" style="float:right; clear:right; margin:1em; width:350px"
{| class="wikitable infobox"
! style="border-radius:10px; padding:5px" |<big>''{{{title|No Title}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br/><small>{{tt|{{{kana|}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br/>{{{hepburn|}}}}}
!colspan="2" class="infoboxTitle"|<span style="font-size: 1.2rem;">{{{name|{{PAGENAME}}}}}</span><br><span style="font-size: 0.75rem;">{{#if:{{{romaji|}}}|{{Tt|{{{jpname|}}}|{{{romaji}}}}}|{{{jpname|}}}}}</span>
|-
|-
{{#if:{{{image|}}} | ! style="padding:.5em; background-color:rgba(0,0,0,0)"{{!}}[[File:{{{image}}}|{{{size|200px}}}]] | ! style="padding:.5em; background-color:rgba(0,0,0,0)"{{!}}[[File:Wiki.png]] }}
!colspan="2" class="infoboxImage"|[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{img_description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{img_size|200x200px}}}|frameless]]<br>{{{caption|}}}
|-
|-
| style="background-color:rgba(0,0,0,0)" |
|colspan="2" class="infoboxDescription"|{{{description|}}}
{| class="mw-collapsible" style="width:100%"
! colspan="2" style="border-radius:10px; text-align:center" |Information
|-
|-
{{#if: {{{ID|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}ID
!colspan="2" class="infoboxContext"|Information
{{!}} style="padding-left:5px"{{!}}{{{ID}}} }}
|-
|-
{{#if: {{{Language|}}} | ! style="width:150px; text-align:right; padding-right:5px"{{!}}Language
!class="infoboxHeadRow"|ID
{{!}} style="padding-left:5px"{{!}}{{{Language}}} }}
|class="infoboxBodyRow"|{{{id|}}}
|-
|-
{{#if: {{{Release Date|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Release Date
!class="infoboxHeadRow"|Language
{{!}} style="padding-left:5px"{{!}}{{{Release Date}}} }}
|class="infoboxBodyRow"|{{{language|}}}
|-
|-
{{#if: {{{Play Time|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Play Time
!class="infoboxHeadRow"|Release date
{{!}} style="padding-left:5px"{{!}}{{{Play Time}}} }}
|class="infoboxBodyRow"|{{{release date|}}}
|-
|-
{{#if: {{{Platform|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Platform(s)
!class="infoboxHeadRow"|Play time
{{!}} style="padding-left:5px"{{!}}{{{Platform}}} }}
|class="infoboxBodyRow"|{{{play time|}}}
|-
|-
{{#if: {{{Rating|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Rating(s)
!class="infoboxHeadRow"|Platform
{{!}} style="padding-left:5px"{{!}}{{{Rating}}} }}
|class="infoboxBodyRow"|{{{platform|}}}
|-
|-
{{#if: {{{Internal Name|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Internal Name(s)
!class="infoboxHeadRow"|Rating
{{!}} style="padding-left:5px"{{!}}{{{Internal Name}}} }}
|class="infoboxBodyRow"|{{{rating|}}}
|-
|-
{{#if: {{{File Size|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}File Size
!class="infoboxHeadRow"|Internal name
{{!}} style="padding-left:5px"{{!}}{{{File Size}}} }}
|class="infoboxBodyRow"|{{{internal name|}}}
|-
|-
{{#if: {{{Synopsis|}}} | ! style="border-radius:10px 0px 0px 10px; width:150px; text-align:right; padding-right:5px"{{!}}Synopsis
!class="infoboxHeadRow"|File size
{{!}} style="padding-left:5px"{{!}}{{{Synopsis}}} }}
|class="infoboxBodyRow"|{{{file size|}}}
|}
|-
|}</onlyinclude><noinclude>{{Infobox demo|Internal Name=test}}
!class="infoboxHeadRow"|Synopsis
[[Category:Infobox Templates]]
|class="infoboxBodyRow"|{{{synopsis|}}}
|}<noinclude>
{{Clear}}{{Doc}}
[[Category:Meta Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:12, 25 June 2025

Demo Infobox
Image for Demo Infobox
Information
ID
Language
Release date
Play time
Platform
Rating
Internal name
File size
Synopsis
Template-info.png Documentation

Usage

{{Demo Infobox
  | title         = 
  | image         = 
  | size          = 
  | id            = 
  | language      = 
  | release date  = 
  | play time     = 
  | platform      = 
  | rating        = 
  | internal name = 
  | file size     = 
  | synopsis      = 
}}

Example

Demo Infobox
Image for Demo Infobox
Information
ID
Language
Release date
Play time
Platform
Rating
Internal name
File size
Synopsis