Template talk:BioFields

From Luchawiki
Jump to navigationJump to search

With 1.6, we can do optional fields on template. This means you should no more see {{{realName}}} on profiles; it'll automatically make it a blank if there's field isn't included.

This kinda flips how we're using this template where data is missing; if you don't have a Real Name or an obit date or titles, you can leave that line off the profile and it'll be taken care. If you don't have an image, you really ought to leave that line off - if you take out, it'll put up a filler picture and if you take it out, you'll see the image attributes.

--thecubsfan 20:39, 14 April 2006 (CDT)

I have a suggestion. Why don't make Birth date/place instead of birth date? Birth place is always written there anyway. --LuchaLover619 (talk) 18:03, 15 June 2012 (UTC)

Made the change, and a similar one for Debuts. --thecubsfan (talk) 17:17, 18 June 2012 (UTC)

C&P

{{bioFields|
|image=
|name=
|realName=
|nicknames=
|nameHistory=
|family=
|maestro=
|birthdate=
|obituarydate=
|debut=
|lostmaskto=
|height=
|weight=
|signatureMoves=
|titles=
}}

Proposed changes

Since this template is protected, I figured I would do this write-up of some proposed changes for the template:

{| style="border:1px solid #000000; background:#000000; width:100%; padding:0; margin:0;"
|-
! colspan="2" style="text-align:left; font-weight:bold; color:#FFFFFF; background:#6B91B8; padding:3px 6px;" | {{{name|{{BASEPAGENAME}}}}}
|-
| style="width:260px; text-align:center; vertical-align:top; background:#FFFFFF;" |
[[Image:{{{image|blank.gif}}}|275px|{{{name|{{BASEPAGENAME}}}}}]]
| style="vertical-align:top; border-left:1px solid #000000; background:#FFFFFF;" |

{| style="width:100%;"
|-
! style="width:200px; text-align:left;" | Name
| {{{name|{{BASEPAGENAME}}}}}
|-
! style="width:200px; text-align:left;" | Real name
| {{{realName|Not known}}}
|-
! style="width:200px; text-align:left;" | Nicknames
| {{{nicknames|None}}}
|-
! style="width:200px; text-align:left;" | Name history
| {{{nameHistory|N/A}}}
|-
! style="width:200px; text-align:left;" | Family
| {{{family|None}}}
|-
! style="width:200px; text-align:left;" | Maestro(s)
| {{{maestro|None}}}
|-
! style="width:200px; text-align:left;" | Date & location of birth
| {{{birthdate|Not known}}}
|-
<!-- For this, we should really hide this unless it's actually specified -->
{{ #if: {{{obituarydate|}}} 
! style="width:200px; text-align:left;" {{!}} Obituary date
{{!}} {{{obituarydate}}}
}}
|-
! style="width:200px; text-align:left;" | Debut, location
| {{{debut|Not known}}}
|-
! style="width:200px; text-align:left;" | Height
| {{{height|Not known}}}
|-
! style="width:200px; text-align:left;" | Weight
| {{{weight|Not known}}}
|-
! style="width:200px; text-align:left;" | Signature moves
| {{{signatureMoves|None}}}
|-
! style="width:200px; text-align:left;" | Lost mask to
| {{{lostmaskto|Has not yet lost their mask}}}
|-
! style="width:200px; text-align:left;" | Titles
| {{{titles|Has not yet won a title}}}
|}
|}

For context, I have been doing wiki editing since the earliest days of Wikipedia in 2001. I currently run my own Miraheze wiki for a video game cut content related topic, and have previously edited on Wikipedia, Wikia (now Fandom), and other self-hosted wikis. I stumbled across this wiki looking up information about Mini Vikingo, and noticed this infobox template could use a bit of work. I happen to enjoy tinkering with templates, so here's a fixed up version of this template. FixItFrank (talk) 18:16, 15 March 2026 (CDT)