Template:PInfobox: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
(Redirected page to Template:Infobox Makers)
Tag: New redirect
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
#REDIRECT [[Template:Infobox Makers]]
<!-- START OF PADDING AROUND INFO BOX -->
{| border="0" cellpadding="20" width= "360px" style="float: right;"
|-
|
<!-- START OF ACTUAL INFO BOX -->
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
|-
!style="background:#d44d1c;" |<font color="white"><big><big>'''{{{name|{{PAGENAME}}}}}'''</big></big></font>
|-
|
<!-- BORDER AROUND THE IMAGE -->
{| border="0" cellpadding="1" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
|-
![[File:{{{Picture|none.png}}}|360px|center|]]
|-
|}<div style="align=center; text-align:center">{{#if:{{{Quote|}}}|{{{Quote|}}}}}</div>
<!-- END OF BORDER AROUND IMAGE -->
|-
|
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #4a4a4a"
|-valign="top"
{{#if:{{{|}}} |
!width=100{{!}}Real Name:
!width=200{{!}}{{{Real Name|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Borned on|}}} |
!width=100{{!}}Borned on:
!width=200{{!}}{{{Borned on|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Age|}}} |
!width=100{{!}}Age:
!width=200{{!}}{{{Age|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Nationality|}}} |
!width=100{{!}}Nationality:
!width=200{{!}}{{{Nationality|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Social Medias|}}} |
!width=100{{!}}Social Medias:
!width=200{{!}}{{{Social Medias|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Known for|}}} |
!width=100{{!}}Known for:
!width=200{{!}}{{{Known for|''Unknown''}}}
}}
|-
|}
<!-- END OF FIRST SECTION  -->
|}
<!-- END OF ACTUAL INFOBOX -->
|}
<!-- END OF PADDING AROUND INFOBOX -->
</includeonly>
<noinclude>
<div><pre>
{{PInfobox
|Name = Jeremy Winterrowd
|Picture =
|Real Name =
|Borned on =
|Age =
|Nationality =
|Social Medias =
|Known for =
|Quote =
}}
</pre></div>
 
==Example==
Notes: Use the operator <br> 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>
{{PInfobox
|name = Jeremy Winterrowd
|Picture = Jeremy Winterrowd.gif
|Real Name = Jeremy S. Winterrowd
|Borned in = Feb 1, 2001
|Age = 17
|Nationality = Hispanic
|Social Medias = Twitter: @winterrowd<br> Instagram: @jmwinterrowd
|Known for = Creating [[Scary Maze Game]] and more.
|Quote = A Picture of himself.
}}
</pre></div>
 
Results in the following (normally aligned on the right of the screen):<br>
<u>NOTE</u>: Most of the information of this person is false, this is just a test.
{{PInfobox
|name = Jeremy Winterrowd
|Picture = Jeremy Winterrowd.gif
|Real Name = Jeremy S. Winterrowd
|Borned on = Feb 1, 2001
|Age = 17
|Nationality = Hispanic
|Social Medias = Twitter: @winterrowd<br> Instagram: @jmwinterrowd
|Known for = Creating [[Scary Maze Game]] and more.
|Quote = A Picture of himself.
}}
<br clear=all>
[[Category:Templates]]
[[Category:Infobox]]
</noinclude>

Latest revision as of 22:50, 17 May 2021