Template:ID badge: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Flex box with two columns (one for pic, one for name + planet) #cww)
No edit summary
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="width:55%; border:solid black 2px; padding:none; font-family:Verdana;">
<div style="width:400px;font-family:Verdana;border:2px solid #000;margin:1em 0">
<div style="background-color:{{{color|#EE1122}}}">&nbsp;</div>
<div style="background:{{#if:{{{color|}}}|#D03C39|#B1B5B9}}">&nbsp;</div>
<div style="background-color:#EFEFEF;">
<div style="background:#EFEFEF">
<div style="display: flex; box-sizing: border-box; padding: 0 1em; gap: 1em; width:100%;">
<div style="width:100%;display:flex;gap:1em;box-sizing:border-box;padding:0 1em">
<div>
<div>
<div style="background-color:#FFFFFF; border-radius:0px 10px 0px 8px; margin:1px;">
<div style="background:#FFF;border-radius:0 10px 0 8px;margin:1px">
[[File:P4 ID Badge Collin.png|80px|link=]]
[[File:{{{image}}}|80px|link=]]
</div>
</div>
</div>
</div>
<div style="flex-grow: 1;">
<div style="flex-grow:1">
<div style="background-color:#FFFFFF; width:100%; padding-left: .5em;">
<div style="width:100%;background:#FFF;padding-left:0.5em">
<span style="color:#00AAFF">Rescue Corps Officer</span><br>
<span style="color:#0AF">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|link=]]}}{{{title|null}}}</span><br>
<span style="color:#113388">'''{{{name|null}}}'''</span></div>
<span style="color:#138">'''{{{name|null}}}'''</span></div>
<div style="background-color:#FFFFFF; width:100%; padding-left: .5em;">
<div style="width:100%;background:#FFF;padding-left:0.5em">
<span style="color:#00AAFF">Home Planet</span><br>
<span style="color:#0AF">Home Planet</span><br>
<span style="color:#113388">'''{{{planet|null}}}'''</span></div>
<span style="color:#138">'''{{{planet|null}}}'''</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="background-color:#EFEFEF; padding:10px; font-weight:450; text-align:justify; text-justify: inter-word;">
<div style="background:#EFEFEF;font-weight:450;text-align:justify;text-justify:inter-word;padding:10px">
{{{line1|null}}}
{{{line1|null}}}
<hr style="border-top:solid 1px #00AAFF;">
<hr style="border-top:1px solid #0AF">
{{{line2|null}}}
{{{line2|null}}}
<hr style="border-top:solid 1px #00AAFF;">
<hr style="border-top:1px solid #0AF">
{{{line3|null}}}
{{{line3|null}}}
<hr style="border-top:solid 1px #00AAFF;">
<hr style="border-top:1px solid #0AF">
</div>
</div>
</div>
</div><noinclude>
</div><br><noinclude>


{{User:Trig Jegman/P4 ID
{{User:Trig Jegman/P4 ID
|color=y
|image=P4 ID Badge Collin.png
|name=Collin
|name=Collin
|icon=ID badge title Collin P4 icon.png
|title=Rescue Corps Officer
|planet=Giya
|planet=Giya
|line1=As the Rescue Corp Comms Operator,
|line1=As the Rescue Corp Comms Operator,
Line 36: Line 39:
|line3=officers. Plus he's handy with a wrench!
|line3=officers. Plus he's handy with a wrench!
}}
}}
{{User:Trig Jegman/P4 ID
|image=P4 ID Badge Kaia.png
|name=Kaia
|title=Uncharted Planet Tourist
|planet=Neechki
|line1=Though a member of her school's Planetary
|line2=Science Club, the hours she spends cloud
|line3=gazing rarely lead to scientific observations.
}}
This template is to generate IDs similar to the ones found for characters in [[Pikmin 4]]. The available parameters are as follows:
{| class="wikitable"
|-
!Parameter
!Purpose
!Mandatory?
|-
|<code>color</code>||Changes the color of the top bar||No
|-
|<code>image</code>||Image of the character being covered||Yes
|-
|<code>icon</code>||Icon next to the title||No
|-
|<code>title</code>||Title of the character||Yes
|-
|<code>name</code>||Name of the character||Yes
|-
|<code>planet</code>||Name of the character's planet of origin||Yes
|-
|<code>line1</code><br><code>line2</code><br><code>line3</code>||For the descriptions as found on the ID card||Yes
|}
</noinclude>

Revision as of 21:13, September 20, 2024

 

[[File:{{{image}}}|80px|link=]]

null

null

Home Planet

null

null


null


null


User:Trig Jegman/P4 ID

User:Trig Jegman/P4 ID

This template is to generate IDs similar to the ones found for characters in Pikmin 4. The available parameters are as follows:

Parameter Purpose Mandatory?
color Changes the color of the top bar No
image Image of the character being covered Yes
icon Icon next to the title No
title Title of the character Yes
name Name of the character Yes
planet Name of the character's planet of origin Yes
line1
line2
line3
For the descriptions as found on the ID card Yes