Template:ID badge: Difference between revisions
Jump to navigation
Jump to search
Trig Jegman (talk | contribs) mNo edit summary |
(the photo not lining up like it does in game bothers me.) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src=" | <templatestyles src="ID badge/styles.css"/> | ||
<div class="p4-id" style="width:400px;font-family:Verdana;border:2px solid #000;margin:1em 0"> | <div class="p4-id" style="width:400px;font-family:Verdana;border:2px solid #000;margin:1em 0"> | ||
<div style="background:{{#if:{{{rescuecorps|}}}|#D03C39|#B1B5B9}}"> </div> | <div style="background:{{#if:{{{rescuecorps|}}}|#D03C39|#B1B5B9}}"> </div> | ||
Line 6: | Line 6: | ||
<div> | <div> | ||
<div style="background:#FFF;border-radius:0 10px 0 8px;margin:1px"> | <div style="background:#FFF;border-radius:0 10px 0 8px;margin:1px"> | ||
[[File:{{{image}}}| | [[File:{{{image}}}|116px|link=]] | ||
</div> | </div> | ||
</div> | </div> | ||
Line 30: | Line 30: | ||
==Info== | ==Info== | ||
This template generates ID badges that look similar to the ones for characters in ''[[Pikmin 4]]''. | This template generates [[Tablet#ID Badges|ID badges]] that look similar to the ones for characters in ''[[Pikmin 4]]''. | ||
==Parameters== | ==Parameters== | ||
Line 44: | Line 44: | ||
! image | ! image | ||
| '''Yes''' || Image of the character. | | '''Yes''' || Image of the character. | ||
|- | |||
! name | |||
| '''Yes''' || The character's name. | |||
|- | |- | ||
! title | ! title | ||
Line 50: | Line 53: | ||
! icon | ! icon | ||
| No || Icon next to the character's title. | | No || Icon next to the character's title. | ||
|- | |- | ||
! planet | ! planet | ||
Line 91: | Line 91: | ||
|image = P4 ID Badge Collin.png | |image = P4 ID Badge Collin.png | ||
|name = Collin | |name = Collin | ||
|title = Rescue Corps Officer | |||
|icon = ID badge title Collin P4 icon.png | |icon = ID badge title Collin P4 icon.png | ||
|planet = Giya | |planet = Giya | ||
|line1 = As the Rescue Corps Comms Operator, | |line1 = As the Rescue Corps Comms Operator, | ||
Line 130: | Line 130: | ||
|} | |} | ||
</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 17:20, December 17, 2024
[[File:{{{image}}}|116px|link=]]
null
Home Planet
null
null
null
Info
This template generates ID badges that look similar to the ones for characters in Pikmin 4.
Parameters
Parameter | Mandatory | Description |
---|---|---|
rescuecorps | No | If this parameter has a value (such as "y"), the bar at the top will be red instead of the default grey. |
image | Yes | Image of the character. |
name | Yes | The character's name. |
title | Yes | The character's title. |
icon | No | Icon next to the character's title. |
planet | Yes | The character's home planet. |
line1 | Yes | The first line of text describing the character. |
line2 | Yes | The second line of text describing the character. |
line3 | Yes | The third line of text describing the character. |
Skeleton
{{ID badge |rescuecorps = |image = |name = |title = |icon = |planet = |line1 = |line2 = |line3 = }}
Examples
Code | Result |
---|---|
{{ID badge |rescuecorps = y |image = P4 ID Badge Collin.png |name = Collin |title = Rescue Corps Officer |icon = ID badge title Collin P4 icon.png |planet = Giya |line1 = As the Rescue Corps Comms Operator, |line2 = he handles communication for his fellow |line3 = officers. Plus he's handy with a wrench! }} |
Rescue Corps Officer Home Planet As the Rescue Corps Comms Operator, he handles communication for his fellow officers. Plus he's handy with a wrench! |
{{ID badge |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. }} |
Uncharted Planet Tourist Home Planet Though a member of her school's Planetary Science Club, the hours she spends cloud gazing rarely lead to scientific observations. |