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...')
 
m (11 revisions imported)
 
(10 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{Lua|Module:Arguments|Module:List}}
 
{{Lua|Module:Arguments|Module:List}}
  
'''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.
+
'''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.
 +
 
 +
== Usage ==
 +
* {{Mlx|{{BASEPAGENAME}}|getFormattedAppearance|major_work{{=}}|minor_work{{=}}|date{{=}}}}
 +
* {{Mlx|{{BASEPAGENAME}}|getFormattedAppearance|major_work{{=}}|issue{{=}}|date{{=}}}}
  
 
== Parameter list ==
 
== Parameter list ==
 
{| 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
 
| 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]].
 
| optional
 
|-
 
!scope="row | last_appearance_major_work
 
| The title of the major work the fictional element last appeared in.
 
| optional
 
|-
 
!scope="row | first_appearance_minor_work
 
| 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]].
 
| optional
 
|-
 
!scope="row | last_appearance_minor_work
 
| The title of the minor work the fictional element last appeared in.
 
| optional
 
 
|-
 
|-
!scope="row | first_appearance_volume
+
! scope="row" | <code>major_work</code>
| The number of the comic book volume the fictional element first appeared in.
+
| 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_volume
+
! scope="row" | <code>minor_work</code>
| The number of the comic book volume 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_date
+
! scope="row" | <code>issue</code>
| The date of the publication/release of the minor work where the fictional element first appeared in.
+
| The number of the comic book issue the fictional element appeared in.
 
| optional
 
| optional
 
|-
 
|-
!scope="row | last_appearance_date
+
! scope="row" | <code>date</code>
| The date of the publication/release of the minor work where the fictional element last appeared in.
+
| The date of the publication/release of the minor work where the fictional element appeared in.
 
| optional
 
| optional
 
|}
 
|}
 
== 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|last_appearance_major_work= |last_appearance_minor_work= |last_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 | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia modules]]
+
[[Category:Television-related modules]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:43, 26 September 2020

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.

Usage

Parameter list

Parameter Explanation Status
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
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
issue The number of the comic book issue the fictional element appeared in. optional
date The date of the publication/release of the minor work where the fictional element appeared in. optional