Template:InfoboxPlayer: Difference between revisions

From AVAS.cc Historical Archive
Content added Content deleted
(Created page with "<includeonly> <!-- START OF PADDING AROUND INFO BOX --> {| border="0" cellpadding="20" width= "320px" style="float: right;" |- | <!-- START OF ACTUAL INFO BOX --> {| border="0...")
 
No edit summary
Tag: Manual revert
 
(78 intermediate revisions by 3 users not shown)
Line 7: Line 7:
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
|-
|-
!style="background:purple;" |'''<font color=White>{{{name|{{PAGENAME}}}}}</font>'''
!style="background:whitesmoke;" |<font color=Black>{{{name|{{PAGENAME}}}}}</font>
|-
|-
|
|
Line 15: Line 15:
![[image:{{{Picture|none.png}}}|330px|center|]]
![[image:{{{Picture|none.png}}}|330px|center|]]
|-
|-
|}<div style= align="center">{{#if:{{{Caption|}}}|{{{Caption|}}}}}</div>
|}<div style="text-align:center" align="center">{{#if:{{{Caption|}}}|{{{Caption|}}}}}</div>
<!-- END OF BORDER AROUND IMAGE -->
<!-- END OF BORDER AROUND IMAGE -->
|-
|-
Line 21: Line 21:
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa"
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa"
|-valign="top"
|-valign="top"
{{#if:{{{a.k.a.|}}} |
{{#if:{{{Aliases|}}} |
!width=100{{!}}a.k.a.:
!width=100{{!}}Aliases:
!width=200{{!}}{{{a.k.a.|}}}
!width=200{{!}}{{{Aliases|}}}
}}
}}
|-valign="top"
|-valign="top"
{{#if:{{{Type of site|}}} |
{{#if:{{{Joined|}}} |
!width=100{{!}}Type of site:
!width=100{{!}}Joined:
!width=200{{!}}{{{Type of site|}}}
!width=200{{!}}{{{Joined|}}}
}}
}}
|-valign="top"
|-valign="top"
{{#if:{{{Language|}}} |
{{#if:{{{Affiliations|}}} |
!width=100{{!}}Language:
!width=100{{!}}Affiliations:
!width=200{{!}}{{{Language|}}}
!width=200{{!}}{{{Affiliations|}}}
}}
}}
|-valign="top"
|-valign="top"
{{#if:{{{Created by|}}} |
{{#if:{{{Achievements|}}} |
!width=100{{!}}Created by:
!width=100{{!}}Achievements:
!width=200{{!}}{{{Created by|}}}
!width=200{{!}}{{{Achievements|}}}
}}
}}
|-valign="top"
|-valign="top"
{{#if:{{{Owner|}}} |
{{#if:{{{Facts|}}} |
!width=100{{!}}Owner:
!width=100{{!}}Facts:
!width=200{{!}}{{{Owner|}}}
!width=200{{!}}{{{Facts|}}}
}}
|-valign="top"
{{#if:{{{Date of launch|}}} |
!width=100{{!}}Date of launch:
!width=200{{!}}{{{Date of launch|}}}
}}
|-valign="top"
{{#if:{{{Status|}}} |
!width=100{{!}}Status:
!width=200{{!}}{{{Status|}}}
}}
|-valign="top"
{{#if:{{{Predecessor|}}} |
!width=100{{!}}Predecessor:
!width=200{{!}}{{{Predecessor|}}}
}}
|-valign="top"
{{#if:{{{Successor|}}} |
!width=100{{!}}Successor:
!width=200{{!}}{{{Successor|}}}
}}
}}
|-
|-
Line 78: Line 58:
|Picture=
|Picture=
|Caption=
|Caption=
|a.k.a.=
|Aliases=
|Joined=
|Type of site=
|Affiliations=
|Language=
|Achievements=
|Created by=
|Owner=
|Facts=
|Date of launch=
|Status=
|Predecessor=
|Successor=
}}
}}
</pre></div>
</pre></div>


=Example=

Notes: Use the operator <nowiki><br></nowiki> in source mode to add linebreaks within the table. Sections left blank will not be displayed. The title that appears at the top of the infobox will be the same as the name of the page it is on. Note that the picture field requires the extension (.jpg, .jpeg, .png) to be present, and requires that the File: or Image: part of the link ''not'' be present.

Using the following:
<div><pre style=>
{{InfoboxPlayer
|Picture = gawker-logo.png
|Caption = Junkfood journalism at its finest.
|a.k.a. =
|Type of site = Gossip blog
|Language = English
|Created by = Nick Denton and Elizabeth Spiers
|Owner = Gawker Media
|Date of launch = 2003
|Status = Inactive
|Predecessor =
|Successor =
}}
</pre></div>
Results in the following (normally aligned on the right of the screen):

{|
|-
|{{InfoboxPlayer
|Picture = gawker-logo.png
|Caption = Junkfood journalism at its finest.
|a.k.a. =
|Type of site = Gossip blog
|Language = English
|Created by = Nick Denton and Elizabeth Spiers
|Owner = Gawker Media (formerly)
|Date of launch = 2003
|Status = Inactive
|Predecessor =
|Successor =
}}
|-
|}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 12:22, 3 September 2023


{{InfoboxPlayer
|Picture=
|Caption=
|Aliases=
|Joined=
|Affiliations=
|Achievements=
|Facts=
}}