Difference between revisions of "Template:Personjr/doc"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
{ | { | ||
"params": { | "params": { | ||
"fullname": {}, | "fullname": { | ||
"label": "Full Name", | |||
"description": "this is used it as the displaytitle of the page", | |||
"type": "string" | |||
}, | |||
"gname": {}, | "gname": {}, | ||
"lname": { | "lname": { | ||
Line 50: | Line 54: | ||
} | } | ||
}, | }, | ||
"description": "person template" | "description": "person template - note that this template takes the fullname param and uses it as a displaytitle", | ||
"maps": { | |||
"fff": {} | |||
}, | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 23:59, 19 February 2022
- - -
There is a documentation subpage housing the metadata about parent template: Personjr.
See Also
- example of tpl in use: Ken Nordine
- preload? Template:Personjr/Preload - https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text
Usage
{{Personjr |fullname= |gname= |lname= |dopt=1 |filmsAssoWith= |dateborn= |datedied= |occ=}}
Template Data
person template - note that this template takes the fullname param and uses it as a displaytitle
Parameter | Description | Type | Status | |
---|---|---|---|---|
Full Name | fullname | this is used it as the displaytitle of the page | String | optional |
gname | gname | no description | Unknown | optional |
Last name | lname | no description | Unknown | optional |
Display Option | dopt | no description
| Unknown | required |
Films Associated With | filmsAssoWith | A comma seperated list of the films he or she is associated with (ie was involved in making) | String | optional |
Date of Birth | dateborn | no description | Date | optional |
Date of Death | datedied | no description | Date | optional |
Occupation | occ | Most prominent occupation. Single value only (only one allowed)
| String | optional |