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

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
m (11 revisions imported)
 
(8 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 ==
Line 11: Line 15:
 
! scope="col" | Status
 
! scope="col" | Status
 
|-
 
|-
! scope="row | <code>appearance_major_work</code>
+
! scope="row" | <code>major_work</code>
 
| The title of the major work the fictional element 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 | <code>appearance_minor_work</code>
+
! scope="row" | <code>minor_work</code>
 
| The title of the minor work the fictional element appeared in. Minor works include TV episodes, chapters, songs and game missions. See [[WP:MINORWORK]].
 
| 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 | <code>appearance_volume</code>
+
! scope="row" | <code>issue</code>
| The number of the comic book volume the fictional element appeared in.
+
| The number of the comic book issue the fictional element appeared in.
 
| optional
 
| optional
 
|-
 
|-
! scope="row | <code>appearance_date</code>
+
! scope="row" | <code>date</code>
 
| 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 appeared in.
 
| optional
 
| optional
 
|}
 
|}
 
== Usage ==
 
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_minor_work= |appearance_date= }}</nowiki></code>
 
* <code><nowiki>{{#invoke:Module:Formatted Appearance|getFormattedAppearance|appearance_major_work= |appearance_volume= |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