Jump to content

User:Jeanenawhitney/sandbox/writer/proposal

From Wikipedia, the free encyclopedia
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.

New proposed infobox writer template

[edit]

This is a proposal for changing the template infobox writer.

Since I cleaned up the code I also read the talk page and made some changes as described below.

Fix image parameter coding

[edit]

Made fix to image coding, where some articles would break. Set the default size to 150px so that default image size fits within the infobox without overpowering it.

New parameter

[edit]

awards The purpose of this parameter is to be able to add notable awards the writer has won in to the infobox.

It is placed in between debutworks and spouse parameters.

Change parameters underscore names

[edit]

Note that the old parameters have been preserved for backward compatibility. Either the new parameter or the old parameter will work. This prevents any current articles using the infobox to still function properly. The reason to change is to eliminate the underscore in the parameters name.

New name Old name
birthdate birth_date
birthplace birth_place
deathdate death_date
deathplace death_place
debutworks debut_works

Change parameter name

[edit]

Change parameter name relations to relatives. Note that the old parameter has been preserved for backward compatibility. Either the new parameter (relatives) or the old parameter (relations) will work. This prevents any current articles using the infobox to still function properly. The reason is to make the parameter name actually mean what it is really for.

New name Old name
relatives relations

Format changes to the infobox

[edit]

Colorization of the header

[edit]

First colorization of the header of the infobox. If the writer is alive the color is green with white text. If deathdate (or death_date) parameter is used then the header will automatically be changed to silver with black text. This is the same as used with the other similar infoboxs on wikipedia. The color of darkolivegreen makes it look more notable then just a plain white background.

Example living writer
Example deceased writer

Add image separator line

[edit]

If an image is displayed a separator line will be displayed beneath the image or image caption (if there is one).

Add descriptors

[edit]

Add Notable awards descriptor for new awards parameter.

New descriptor Old descriptor
Notable awards

Change descriptors

[edit]

Change the descriptor for Partner to Domestic partner.

Change the descriptor for Relations to Relatives.

New descriptor Old descriptor
Domestic partner(s) Partner
Relative(s) Relations


Add collapsible influences/influenced lists

[edit]

On both influences an influenced parameters will now be hidden but can be shown by clickinf on the show.

Example collapsible lists

Add separator line

[edit]

If a signature image is displayed a separator line will be displayed above the signature image.

Reformat website parameter

[edit]

Adding a horizontal line if website parameter is used.

Column span and center align the website. Adding Official Website descriptor.

Adding this to the infobox:

| website = http://www.zzz.zzz

Will result in display like this:

Example display output
Official website

Remove footnotes parameter

[edit]

Very few articles used this parameter. Information should be placed into the article.

Example page with template changes

[edit]

Example of current writer infoboxes working with proposed new template: Examples

Note that these infobox examples have been taken from current articles, and no changes were made to any parameters to show that the new proposed template works with current articles.

Proposed template with documentation

[edit]

This is proposed template with documentation: Infobox writer

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.