Difference between revisions of "Template:Infobox Playboy Playmate/doc"
imported>Jeanenawhitney (→Parameters: remove old parameter no longer used) |
imported>StarGeek (→Parameters: Default background isn't red, it's lightSkyBlue) |
||
| (30 intermediate revisions by 21 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | < | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
| − | + | [[Template:Infobox Playboy Playmate]] may be used to summarize information about a Playboy Playmate. | |
| − | + | == Usage == | |
The infobox may be added by pasting the template as shown below into an article. All fields are optional with the exception of '''''issue''''', which is required. Any unused parameter names can be left blank or omitted. | The infobox may be added by pasting the template as shown below into an article. All fields are optional with the exception of '''''issue''''', which is required. Any unused parameter names can be left blank or omitted. | ||
| − | <pre>{{Infobox Playboy Playmate | + | {{Infobox Playboy Playmate |
| + | | name = {{{name}}} | ||
| + | | image = {{{image}}} | ||
| + | | image_size = {{{image_size}}} | ||
| + | | alt = {{{alt}}} | ||
| + | | caption = {{{caption}}} | ||
| + | | issue = {{{issue}}} | ||
| + | | preceded = {{{preceded}}} | ||
| + | | succeeded = {{{succeeded}}} | ||
| + | | pmoy-year = {{{pmoy-year}}} | ||
| + | | pmoy-preceded = {{{pmoy-preceded}}} | ||
| + | | pmoy-succeeded = {{{pmoy-succeeded}}} | ||
| + | | birth_name = {{{birth_name}}} | ||
| + | | birth_date = {{{birth_date}}} | ||
| + | | birth_place = {{{birth_place}}} | ||
| + | | death_date = {{{death_date}}} | ||
| + | | death_place = {{{death_place}}} | ||
| + | | bust = {{{bust}}} | ||
| + | | waist = {{{waist}}} | ||
| + | | hips = {{{hips}}} | ||
| + | | height = {{{height}}} | ||
| + | | weight = {{{weight}}} | ||
| + | | website = {{{website}}} | ||
| + | }} | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{Infobox Playboy Playmate | ||
| name = | | name = | ||
| image = | | image = | ||
| − | | | + | | image_size = |
| + | | alt = | ||
| caption = | | caption = | ||
| issue = | | issue = | ||
| − | | | + | | preceded = |
| − | | | + | | succeeded = |
| − | | | + | | pmoy-year = |
| − | | | + | | pmoy-preceded = |
| − | | | + | | pmoy-succeeded = |
| + | | birth_name = | ||
| + | | birth_date = | ||
| + | | birth_place = | ||
| + | | death_date = | ||
| + | | death_place = | ||
| bust = | | bust = | ||
| waist = | | waist = | ||
| hips = | | hips = | ||
| − | |||
| height = | | height = | ||
| weight = | | weight = | ||
| − | |||
| − | |||
| website = | | website = | ||
| − | }}</pre> | + | }} |
| + | </pre> | ||
| − | The following template (most common parameters used) can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: ''year'', '' | + | The following template (most common parameters used) can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: ''year'', ''birth_date'', ''bust'', ''waist'', ''hips'', ''height'', ''weight'', ''preceded'', and ''succeeded''. Note: The article's page name will be automatically substituted (<nowiki>{{subst:PAGENAME}}</nowiki>) for the name parameter when you save the page, unless you change it. |
| − | <pre>{{Infobox Playboy Playmate | + | <pre style="overflow:auto;"> |
| + | {{Infobox Playboy Playmate | ||
| name = {{subst:PAGENAME}} | | name = {{subst:PAGENAME}} | ||
| image = | | image = | ||
| caption = | | caption = | ||
| − | | issue = | + | | issue = month year |
| − | | | + | | preceded = |
| − | | | + | | succeeded = |
| − | | | + | | pmoy-year = |
| − | | | + | | pmoy-preceded = |
| − | | | + | | pmoy-succeeded = |
| + | | birth_name = | ||
| + | | birth_place = | ||
| + | | birth_date = {{Birth date and age|year|mo|da}} | ||
| + | | death_date = | ||
| + | | death_place = | ||
| bust = | | bust = | ||
| − | | waist = {{ | + | | waist = {{convert|num=x|in|cm|0|abbr=on}} |
| − | | hips = {{ | + | | hips = {{convert|num=x|in|cm|0|abbr=on}} |
| − | |||
| height = {{convert|X|ft|Y|in|m|2}} | | height = {{convert|X|ft|Y|in|m|2}} | ||
| weight = {{convert|Z|lb|kg}} | | weight = {{convert|Z|lb|kg}} | ||
| − | |||
| − | |||
| website = | | website = | ||
| − | }} | + | }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| − | + | == Parameters == | |
Please remove any parameters from an article's infobox that are left blank. | Please remove any parameters from an article's infobox that are left blank. | ||
| − | {| class=" | + | {| class="wikitable" |
! Parameter | ! Parameter | ||
! Explanation | ! Explanation | ||
|- | |- | ||
| '''name''' | | '''name''' | ||
| − | | Insert name of playmate. Use the common name, typically the name of the article, or if multiple names are used. If omitted or blank, it defaults to the name of the article. The default background display color for a living playmate is <span style="background:lightSkyBlue"> | + | | Insert name of playmate. Use the common name, typically the name of the article, or if multiple names are used. If omitted or blank, it defaults to the name of the article. The default background display color for a living playmate is <span style="background:lightSkyBlue">lightSkyBlue</span>. <small>''Note: If the death parameter below is used, it will change the background display color of the playmate's name to <span style="background:silver">silver</span>''.</small> |
|- | |- | ||
| '''image''' | | '''image''' | ||
| Insert image name. Use only the file name such as {{highlight|abc.jpg}}, {{highlight|xyz.png}}, {{highlight|123.gif}}, etc. Do not use syntax such as <nowiki>[[Image:abc.jpg]]</nowiki> or <nowiki>[[Image:abc.jpg|200px]]</nowiki><br /> | | Insert image name. Use only the file name such as {{highlight|abc.jpg}}, {{highlight|xyz.png}}, {{highlight|123.gif}}, etc. Do not use syntax such as <nowiki>[[Image:abc.jpg]]</nowiki> or <nowiki>[[Image:abc.jpg|200px]]</nowiki><br /> | ||
| − | Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted | + | Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted – see [[WP:NONFREE]]. |
| + | |- | ||
| + | | '''image_size''' | ||
| + | | | ||
| + | |- | ||
| + | | '''alt''' | ||
| + | | | ||
|- | |- | ||
| '''caption''' | | '''caption''' | ||
| Line 78: | Line 109: | ||
|- | |- | ||
| '''issue''' | | '''issue''' | ||
| − | | Insert the | + | | Insert the playmate's month and year of centerfold appearance in ''Playboy'' magazine (issue). |
| + | |- | ||
| + | | '''preceded''' | ||
| + | | | ||
| + | |- | ||
| + | | '''succeeded''' | ||
| + | | | ||
| + | |- | ||
| + | | '''pmoy-year''' | ||
| + | | Playmate of the Year. If the playmate was chosen as Playmate of the Year, enter the year here. Otherwise leave this blank. | ||
| + | |- | ||
| + | | '''pmoy-preceded''' | ||
| + | | | ||
|- | |- | ||
| − | | ''' | + | | '''pmoy-succeeded''' |
| + | | | ||
| + | |- | ||
| + | | '''birth_name''' | ||
| Insert playmate's name at birth (or christening if name at birth is unavailable). | | Insert playmate's name at birth (or christening if name at birth is unavailable). | ||
|- | |- | ||
| − | | ''' | + | | '''birth_date''' |
| − | | Insert the | + | | Insert the person's birth date if known as: <nowiki>month day</nowiki>, <nowiki>year</nowiki>.<br /> Or you can use the following formats:<br> |
{| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;" | {| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;" | ||
|- | |- | ||
| style="background:#dfd;"| | | style="background:#dfd;"| | ||
The examples on this page use the current date as<br /> | The examples on this page use the current date as<br /> | ||
| − | + | {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}, and assume a birth year of {{#expr: {{CURRENTYEAR}} - 55}} | |
|} | |} | ||
{| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;"style="background:#dfd;" | {| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;"style="background:#dfd;" | ||
| Line 135: | Line 181: | ||
:::<small>{{Birth date|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}}}</small> | :::<small>{{Birth date|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}}}</small> | ||
| − | *For a living person consider using: | + | *For a living person consider using: |
| − | :{{tlx|Birth date and age|year of birth|month of birth|day of birth}} | + | :{{tlx|Birth date and age|year of birth|month of birth|day of birth}} |
| − | *Otherwise use (this format is normally used for a person who has died and the so the age is not displayed): | + | *Otherwise use (this format is normally used for a person who has died and the so the age is not displayed): |
:{{tlx|Birth date|year of birth|month of birth|day of birth}}. | :{{tlx|Birth date|year of birth|month of birth|day of birth}}. | ||
|} | |} | ||
|- | |- | ||
| − | | ''' | + | | '''birth_place''' |
| − | | Insert the | + | | Insert the playmate's place of birth if known as: town, city, state, country. Note: '''<ins>Do not</ins>''' add flag icons to the birthplace. See [[Wikipedia:Manual of Style (flags)]] |
|- | |- | ||
| − | | ''' | + | | '''death_date''' |
| Note: Using this field will also change the background display color of the name at the top of the infobox to <span style="background:silver">silver</span>. | | Note: Using this field will also change the background display color of the name at the top of the infobox to <span style="background:silver">silver</span>. | ||
If the person is still living, leave this parameter blank. | If the person is still living, leave this parameter blank. | ||
| − | Insert the | + | Insert the person's date of death if known as: <nowiki>month day</nowiki>, <nowiki>year</nowiki>. |
{| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;" | {| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;" | ||
|- | |- | ||
| style="background:#dfd;"| | | style="background:#dfd;"| | ||
The examples on this page use the current date as<br /> | The examples on this page use the current date as<br /> | ||
| − | + | {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}, and assume a birth year of {{#expr: {{CURRENTYEAR}} - 55}} | |
|} | |} | ||
{| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;"style="background:#dfd;" | {| class="wikitable plainlinksneverexpand" style="margin-top:0; width:100%; text-align:center;font-size:smaller;"style="background:#dfd;" | ||
| Line 185: | Line 231: | ||
*When only the death year is known, use: | *When only the death year is known, use: | ||
| − | :<small><nowiki> | + | :<small><nowiki></nowiki>death year</small> |
::'''''example''''' | ::'''''example''''' | ||
| − | :::<small><nowiki> | + | :::<small><nowiki></nowiki>year died</small> |
::'''''output display results''''' | ::'''''output display results''''' | ||
| − | :::<small> | + | :::<small>{{CURRENTYEAR}}</small> |
*When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive): | *When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive): | ||
| Line 197: | Line 243: | ||
:::date of death unknown | :::date of death unknown | ||
| − | *When the date of death is unknown, and it is preferable not to display anything and just change the background display color of the infobox | + | *When the date of death is unknown, and it is preferable not to display anything and to just change the background display color of the infobox, enter the following (case is insensitive): |
::'''''example''''' | ::'''''example''''' | ||
:::died | :::died | ||
| Line 208: | Line 254: | ||
::'''''examples''''' | ::'''''examples''''' | ||
:::<small><nowiki>[[</nowiki>circa|c.]] <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|{{#expr: {{CURRENTYEAR}} - 55}}}}</small> | :::<small><nowiki>[[</nowiki>circa|c.]] <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|{{#expr: {{CURRENTYEAR}} - 55}}}}</small> | ||
| − | :::<small><nowiki>[[</nowiki>circa|c.]] <nowiki> | + | :::<small><nowiki>[[</nowiki>circa|c.]] <nowiki></nowiki>year died</small> |
::'''''output display results''''' | ::'''''output display results''''' | ||
:::<small>[[circa|c.]] {{Death year and age|{{CURRENTYEAR}}|{{#expr: {{CURRENTYEAR}} - 55}}}}</small> | :::<small>[[circa|c.]] {{Death year and age|{{CURRENTYEAR}}|{{#expr: {{CURRENTYEAR}} - 55}}}}</small> | ||
| − | :::<small>[[circa|c.]] | + | :::<small>[[circa|c.]] {{CURRENTYEAR}}</small> |
|} | |} | ||
|- | |- | ||
| − | | ''' | + | | '''death_place''' |
| − | | Insert the | + | | Insert the playmate's place of death if known as: town, city, state, country. Note: '''<ins>Do not</ins>''' add flag icons to the deathplace. See: [[Wikipedia:Manual of Style (flags)]]. |
|- | |- | ||
| '''bust''' | | '''bust''' | ||
| − | | Insert the | + | | Insert the playmate's bust size if known. If unknown leave blank. Use either <code>''X'' cm</code> or <code>''Y'' in</code>. Conversions are automatic. |
|- | |- | ||
| '''waist''' | | '''waist''' | ||
| − | | Insert the | + | | Insert the playmate's waist size if known. If unknown leave blank. Use either <code>''X'' cm</code> or <code>''Y'' in</code>. Conversions are automatic. |
|- | |- | ||
| '''hips''' | | '''hips''' | ||
| − | | Insert the | + | | Insert the playmate's hip size if known. If unknown leave blank. Use either <code>''X'' cm</code> or <code>''Y'' in</code>. Conversions are automatic. |
| − | |||
| − | |||
| − | |||
|- | |- | ||
| '''height''' | | '''height''' | ||
| − | | Insert the | + | | Insert the playmate's height if known. If unknown leave blank. Use either <code>''X'' cm</code> or <code>''Y'' ft ''Z'' in</code>. Conversions are automatic. |
|- | |- | ||
| '''weight''' | | '''weight''' | ||
| − | | Insert the | + | | Insert the playmate's weight if known. If unknown leave blank. Use either <code>''X'' kg</code> or <code>''Y'' lb</code>. Conversions are automatic. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| '''website''' | | '''website''' | ||
| − | | If the playmate | + | | If the template is being used in an article specifically about the playmate, then an official website should be entered here per [[WP:ELOFFICIAL]], but not in articles about other subjects, especially lists. '''<ins>Do not</ins>''' enter unofficial, blogs or fan websites. Only one '''official''' website is allowed. If the playmate has more than one '''official''' website, only the most prominent should be listed in the infobox. All other websites should be listed in the article under ==External links==.<br /> Enter just the url. Do not use syntax such as <nowiki>[http://www.lastpageontheinternet.com/]</nowiki> or <nowiki>[[http://www.lastpageontheinternet.com/ Sexy girl]</nowiki>].<br />The proper syntax is: {{highlight|<nowiki>http://www.lastpageontheinternet.com/</nowiki>}} |
| − | |||
|} | |} | ||
| − | ==Microformat== | + | == Use as a child template == |
| + | {{Infobox person module documentation|Infobox Playboy Playmate}} | ||
| + | |||
| + | == Microformat == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | + | <includeonly> |
| − | [[ | + | <!-- Categories go here and interwikis go in Wikidata. --> |
| − | </ | + | {{Basepage subpage| |
| + | [[Category:People and person infobox templates|Playboy Playmate]] | ||
| + | [[Category:Biographical templates usable as a module|Playboy Playmate]] | ||
| + | }} | ||
| + | </includeonly> | ||
Latest revision as of 17:59, 4 June 2020
| 40px | This is a documentation subpage for Template:Infobox Playboy Playmate. It contains usage information, categories and other content that is not part of the original template page. |
Template:Infobox Playboy Playmate may be used to summarize information about a Playboy Playmate.
Usage
The infobox may be added by pasting the template as shown below into an article. All fields are optional with the exception of issue, which is required. Any unused parameter names can be left blank or omitted.
| {{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]] {{{caption}}} | |
| Playboy centerfold appearance | |
| {{{issue}}} | |
| Preceded by | {{{preceded}}} |
| Succeeded by | {{{succeeded}}} |
| Playboy Playmate of the Year | |
| {{{pmoy-year}}} | |
| Preceded by | {{{pmoy-preceded}}} |
| Succeeded by | {{{pmoy-succeeded}}} |
| Personal details | |
| Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
| Died | {{{death_date}}} {{{death_place}}} |
| Measurements | Bust: {{{bust}}} Waist: {{{waist}}} Hips: {{{hips}}} |
| Height | {{{height}}} |
| Weight | {{{weight}}} |
[{{{website}}} Official website] | |
{{Infobox Playboy Playmate
| name =
| image =
| image_size =
| alt =
| caption =
| issue =
| preceded =
| succeeded =
| pmoy-year =
| pmoy-preceded =
| pmoy-succeeded =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| bust =
| waist =
| hips =
| height =
| weight =
| website =
}}
The following template (most common parameters used) can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: year, birth_date, bust, waist, hips, height, weight, preceded, and succeeded. Note: The article's page name will be automatically substituted ({{subst:PAGENAME}}) for the name parameter when you save the page, unless you change it.
{{Infobox Playboy Playmate
| name = {{subst:PAGENAME}}
| image =
| caption =
| issue = month year
| preceded =
| succeeded =
| pmoy-year =
| pmoy-preceded =
| pmoy-succeeded =
| birth_name =
| birth_place =
| birth_date = {{Birth date and age|year|mo|da}}
| death_date =
| death_place =
| bust =
| waist = {{convert|num=x|in|cm|0|abbr=on}}
| hips = {{convert|num=x|in|cm|0|abbr=on}}
| height = {{convert|X|ft|Y|in|m|2}}
| weight = {{convert|Z|lb|kg}}
| website =
}}
Parameters
Please remove any parameters from an article's infobox that are left blank.
| Parameter | Explanation | |||||
|---|---|---|---|---|---|---|
| name | Insert name of playmate. Use the common name, typically the name of the article, or if multiple names are used. If omitted or blank, it defaults to the name of the article. The default background display color for a living playmate is lightSkyBlue. Note: If the death parameter below is used, it will change the background display color of the playmate's name to silver. | |||||
| image | Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[Image:abc.jpg]] or [[Image:abc.jpg|200px]] Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted – see WP:NONFREE. | |||||
| image_size | ||||||
| alt | ||||||
| caption | Insert photograph caption. Try to include date of photo and the photographer. | |||||
| issue | Insert the playmate's month and year of centerfold appearance in Playboy magazine (issue). | |||||
| preceded | ||||||
| succeeded | ||||||
| pmoy-year | Playmate of the Year. If the playmate was chosen as Playmate of the Year, enter the year here. Otherwise leave this blank. | |||||
| pmoy-preceded | ||||||
| pmoy-succeeded | ||||||
| birth_name | Insert playmate's name at birth (or christening if name at birth is unavailable). | |||||
| birth_date | Insert the person's birth date if known as: month day, year. Or you can use the following formats:
| |||||
| birth_place | Insert the playmate's place of birth if known as: town, city, state, country. Note: Do not add flag icons to the birthplace. See Wikipedia:Manual of Style (flags) | |||||
| death_date | Note: Using this field will also change the background display color of the name at the top of the infobox to silver.
If the person is still living, leave this parameter blank. Insert the person's date of death if known as: month day, year.
| |||||
| death_place | Insert the playmate's place of death if known as: town, city, state, country. Note: Do not add flag icons to the deathplace. See: Wikipedia:Manual of Style (flags). | |||||
| bust | Insert the playmate's bust size if known. If unknown leave blank. Use either X cm or Y in. Conversions are automatic.
| |||||
| waist | Insert the playmate's waist size if known. If unknown leave blank. Use either X cm or Y in. Conversions are automatic.
| |||||
| hips | Insert the playmate's hip size if known. If unknown leave blank. Use either X cm or Y in. Conversions are automatic.
| |||||
| height | Insert the playmate's height if known. If unknown leave blank. Use either X cm or Y ft Z in. Conversions are automatic.
| |||||
| weight | Insert the playmate's weight if known. If unknown leave blank. Use either X kg or Y lb. Conversions are automatic.
| |||||
| website | If the template is being used in an article specifically about the playmate, then an official website should be entered here per WP:ELOFFICIAL, but not in articles about other subjects, especially lists. Do not enter unofficial, blogs or fan websites. Only one official website is allowed. If the playmate has more than one official website, only the most prominent should be listed in the infobox. All other websites should be listed in the article under ==External links==. Enter just the url. Do not use syntax such as [http://www.lastpageontheinternet.com/] or [[http://www.lastpageontheinternet.com/ Sexy girl]]. The proper syntax is: http://www.lastpageontheinternet.com/ |
Use as a child template
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <!-- etc. -->
| module =
{{Infobox Playboy Playmate | child=yes <!-- or embed=yes or subbox=yes -->
| parameter-1 =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- etc. -->
}}
}}
Microformat