Difference between revisions of "Module:Formatted appearance/doc"
Jump to navigation
Jump to search
blackwiki>Gonnym (←Created page with '<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Arguments|Module...') |
blackwiki>Gonnym |
||
| Line 7: | Line 7: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | !scope="col" | Parameter | + | ! scope="col" | Parameter |
| − | !scope="col" | Explanation | + | ! scope="col" | Explanation |
| − | !scope="col" | Status | + | ! scope="col" | Status |
|- | |- | ||
| − | !scope="row | | + | ! scope="row | appearance_major_work |
| − | | The title of the major work the fictional element | + | | The title of the major work the fictional element appeared in. Major works include TV series, films, books, albums and games. See [[WP:MAJORWORK]]. |
| optional | | optional | ||
|- | |- | ||
| − | !scope="row | | + | ! scope="row | appearance_minor_work |
| − | | The title of the | + | | The title of the minor work the fictional element appeared in. Minor works include TV episodes, chapters, songs and game missions. See [[WP:MINORWORK]]. |
| optional | | optional | ||
|- | |- | ||
| − | !scope="row | | + | ! scope="row | appearance_volume |
| − | | The | + | | The number of the comic book volume the fictional element appeared in. |
| optional | | optional | ||
|- | |- | ||
| − | !scope="row | | + | ! scope="row | appearance_date |
| − | + | | The date of the publication/release of the minor work where the fictional element appeared in. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | The date of the publication/release of the minor work where the fictional element | ||
| optional | | optional | ||
|} | |} | ||
== Usage == | == Usage == | ||
| − | * <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance| | + | * <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_minor_work= |appearance_date= }}</nowiki></code> |
| − | * <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance| | + | * <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_volume= |appearance_date= }}</nowiki></code> |
| − | |||
| − | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 08:41, 20 December 2018
| 30px | This module depends on the following other modules: |
Module:Formatted Appearance is used to create a formatted style for first appearance / last appearance entries in Template:Infobox character or for other similar fictional elements.
Parameter list
| Parameter | Explanation | Status |
|---|---|---|
| appearance_major_work | The title of the major work the fictional element appeared in. Major works include TV series, films, books, albums and games. See WP:MAJORWORK. | optional |
| appearance_minor_work | The title of the minor work the fictional element appeared in. Minor works include TV episodes, chapters, songs and game missions. See WP:MINORWORK. | optional |
| appearance_volume | The number of the comic book volume the fictional element appeared in. | optional |
| appearance_date | The date of the publication/release of the minor work where the fictional element appeared in. | optional |
Usage
{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_minor_work= |appearance_date= }}{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_volume= |appearance_date= }}