සැකිල්ල:Infobox writer/doc
This is a documentation subpage for සැකිල්ල:Infobox writer. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Infobox writer may be used to summarize information about a person who is a writer/author (includes screenwriters).
If the writer-specific fields here are not needed, consider using the more general {{Infobox person}}; other infoboxes there can be found in Category:People infobox templates.
Usage
[සංස්කරණය]The infobox may be added by pasting the template as shown below into an article. All fields are optional. Any unused parameter names can be left blank or omitted.
{{Infobox writer <!-- For more information see [[:Template:Infobox Writer/doc]]. --> | name = <!-- Deleting this line will use the article title as the page name. --> | image = | imagesize = | alt = | caption = | pseudonym = | birth_name = | birth_date = <!-- {{Birth date and age|Year|Month|Day}} --> | birth_place = | death_date = | death_place = | resting_place = | occupation = | language = | nationality = | ethnicity = | citizenship = | education = | alma_mater = | period = | genre = | subject = | movement = | notableworks = | spouse = | partner = | children = | relatives = | influences = | influenced = | awards = | signature = | signature_alt = | website = | portaldisp = }}
Parameters
[සංස්කරණය]Please remove any parameters from an article's infobox that are left blank.
All parameters are optional.
Parameter | Explanation |
---|---|
name | Insert name of the person. Use the common name, typically name of article. If omitted it defaults to the name of the article; if present but blank, the header is omitted. Note: Do not add icons or other images. |
image | Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[File:abc.jpg]] or [[File: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 |
imagesize | Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 200px if empty or omitted. |
alt | The alt text for the image, for readers who cannot see the image. See WP:ALT. |
caption | Caption for the image. Try to include the date the image was created. |
pseudonym | Any of the person's aliases or pen names. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>. |
birth_name | Insert person's name at birth (or christening if name at birth is unavailable). |
birth_date | Insert the persons birth date if known as: month day, year or day month year as appropriate.
|
birth_place | Insert the persons 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 persons date of death if known as: month day, year or day month year as appropriate.
|
death_place | Insert the persons 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). |
resting_place | Place of burial, ash-scattering, etc. |
occupation | Insert the type of person: novelist, short story person, journalist, etc. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>. |
language | Language of published writings. |
nationality | Nationality of person. |
ethnicity | Ethnicity of person. |
citizenship | Citizenship of person. |
education | Education of person. |
alma_mater | Alma mater of person. |
period | Dates from first publication to last publication. |
genre | All genres that the person wrote in. (fiction persons) Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>. |
subject | All subjects that the person wrote about. (non-fiction persons) Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>. |
movement | Insert the literary movement associated with or involving the person. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>. |
notableworks | Names of notable works (WP:NN). Separate entries with a line break (<br>). If there is a dispute between editors over what is or is not a notable work, it should be brought up on the article's talk page. If no consensus can be developed for a particular person, the notableworks parameter should be marked with: <!-- Please do not add notable works to this article. See talk page as mutual consensus could not be achieved on this article. --> |
spouse | Name of spouse(s), followed by years of marriage. Use the format Name (1950–present) for current spouse and Name (1970–1999) for former spouse(s). Separate entries with a line break (<br>). |
partner | Name of long-term unmarried partner(s) (e.g., domestic partner). Separate multiple entries with a line break (<br>). |
children | Number of children (e.g., 3), or list of children names. Separate entries with a line break (<br>). |
relatives | Names of parents, siblings or other relatives. Include the relationship in parentheses after the name (father, sister, uncle, etc). Separate entries with a line break (<br>). |
influences | Names of other persons, literary movements, and others who have influenced his/her work. If there are numerous entries to this parameter consider separating entries with a comma "," followed by a blank space. If there are only a few entries then separate entries with a line break <br>. |
influenced | Names of other persons, literary movements, and others influenced by his/her work. If there are numerous entries to this parameter consider separating entries with a comma "," followed by a blank space. If there are only a few entries then separate entries with a line break <br>. |
awards | Insert any notable awards the person has won. Consider using the template: {{awd|award|year|title|role}} Separate entries with a line break (<br>). Note: Do not add icons or other images. |
signature | An image of the person's signature. Image is displayed at a width of 128px, same format as {{Infobox person}}, {{Infobox officeholder}} and {{Infobox philosopher}}. |
signature_alt | signature_alt="Jules Romains", spelling out the signature exactly as it appears in the image.[පැහැදීම ඇවැසිය] |
website | If the person has an official website enter it here. Do not enter unofficial, blogs or fan websites. Only one official website is allowed. If the person 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.example.com/] or [[http://www.example.com Great person]]. The proper syntax is: [http://www.example.com/ example.com] or {{URL|www.example.com}} |
portaldisp | This is an optional parameter to display the literature portal link at the bottom of the infobox. Leaving this parameter blank will cause the literature portal link not to display. Setting this parameter to yes or y (case is insensitive) will display the literature portal link.
If there is a dispute between editors over whether this parameter should be used in the article, it should be brought up on the article's talk page. If no consensus can be developed for a particular person, the portaldisp parameter should be marked with: <!-- Please do not use this parameter in this article. See talk page as mutual consensus could not be achieved on this article. --> |
Microformat
[සංස්කරණය]The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.
See also
[සංස්කරණය]- {{Infobox person}}