Difference between revisions of "Module:Formatted appearance/doc"

From blackwiki
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 | first_appearance_major_work
+
! scope="row | appearance_major_work
| The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games. See [[WP:MAJORWORK]].
+
| 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 | last_appearance_major_work
+
! scope="row | appearance_minor_work
| The title of the major work the fictional element last appeared in.
+
| 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 | first_appearance_minor_work
+
! scope="row | appearance_volume
| The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions. See [[WP:MINORWORK]].
+
| The number of the comic book volume the fictional element appeared in.
 
| optional
 
| optional
 
|-
 
|-
!scope="row | last_appearance_minor_work
+
! scope="row | appearance_date
| The title of the minor work the fictional element last appeared in.
+
| The date of the publication/release of the minor work where the fictional element appeared in.
| optional
 
|-
 
!scope="row | first_appearance_volume
 
| The number of the comic book volume the fictional element first appeared in.
 
| optional
 
|-
 
!scope="row | last_appearance_volume
 
| The number of the comic book volume the fictional element last appeared in.
 
| optional
 
|-
 
!scope="row | first_appearance_date
 
| The date of the publication/release of the minor work where the fictional element first appeared in.
 
| optional
 
|-
 
!scope="row | last_appearance_date
 
| The date of the publication/release of the minor work where the fictional element last appeared in.
 
 
| optional
 
| optional
 
|}
 
|}
  
 
== Usage ==
 
== Usage ==
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|first_appearance_major_work= |first_appearance_minor_work= |first_appearance_date= }}</nowiki></code>
+
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_minor_work= |appearance_date= }}</nowiki></code>
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|last_appearance_major_work= |last_appearance_minor_work= |last_appearance_date= }}</nowiki></code>
+
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_volume= |appearance_date= }}</nowiki></code>
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|first_appearance_major_work= |first_appearance_volume= |first_appearance_date= }}</nowiki></code>
 
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|last_appearance_major_work= |last_appearance_volume= |last_appearance_date= }}</nowiki></code>
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 08:41, 20 December 2018

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= }}