Error creating thumbnail: File missing Join our Discord!
If you have been locked out of your account you can request a password reset here.

Template:Media table start: Difference between revisions

From Internet Movie Firearms Database - Guns in Movies, TV and Video Games
Jump to navigation Jump to search
No edit summary
(Adding support for actor page tables.)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="font-size: 95%; background-color:#ffffff"
<includeonly>{| class="wikitable" style="width:{{{width|85%}}}; font-size: 95%; background-color:#ffffff"
|-
|-
{{#ifeq: {{{1}}} | film |
{{#switch: {{{1|}}}
! width{{=}}"250" {{!}} Title
| film =
! width{{=}}"170" {{!}} Actor
! width{{=}} 20% {{!}} Title
! width{{=}}"160" {{!}} Character
! width{{=}} 20% {{!}} Actor
! width{{=}}"300" {{!}} Notes
! width{{=}} 20% {{!}} Character
! width{{=}}"50" {{!}} Date
! width{{=}} 20% {{!}} Notes
}}
! width{{=}} 5% {{!}} Date
{{#ifeq: {{{1}}} | television |
| television =
! width{{=}}"200" {{!}} Title
! width{{=}} 20% {{!}} Title
! width{{=}}"150" {{!}} Actor
! width{{=}} 20% {{!}} Actor
! width{{=}}"200" {{!}} Character
! width{{=}} 20% {{!}} Character
! width{{=}}"250" {{!}} Notes / Episode
! width{{=}} 20% {{!}} Notes / Episode
! width{{=}}"100" {{!}} Date
! width{{=}} 5% {{!}} Date
}}
| anime =
{{#ifeq: {{{1}}} | anime |
! width{{=}} 20% {{!}} Title
! width{{=}}"280" {{!}} Title
! width{{=}} 20% {{!}} Character
! width{{=}}"200" {{!}} Character
! width{{=}} 20% {{!}} Notes
! width{{=}}"250" {{!}} Notes
! width{{=}} 5% {{!}} Date
! width{{=}}"50" {{!}} Date
| video game =
}}
! width{{=}} 20% {{!}} Title
{{#ifeq: {{{1}}} | video game |
! width{{=}} 20% {{!}} Appears as
! width{{=}}"300" {{!}} Title
! width{{=}} 20% {{!}} Mods
! width{{=}}"150" {{!}} Appears as
! width{{=}} 20% {{!}} Notes
! width{{=}}"250" {{!}} Mods
! width{{=}} 5% {{!}} Date
! width{{=}}"200" {{!}} Notes
| actor =
! width{{=}}"100" {{!}} Date
! width{{=}} 20% {{!}} Gun
! width{{=}} 20% {{!}} Character
! width{{=}} 20% {{!}} Title
! width{{=}} 20% {{!}} Notes
! width{{=}} 5% {{!}} Date
}}
}}
|-
|-

Latest revision as of 02:11, 22 June 2023

Automatically creates wikitable markup for IMFDB media appearance tables. A media type must be included as a parameter so that the correct table markup can be created. A width parameter can also be included to set the wikitable's width.

Examples (Gun Pages)

Film

{{Media table start|film}}
| rowspan=2 | ''[[Black Widow (2021)|Black Widow]]''|| || Russian soldiers || rowspan=2 | || rowspan=2 | 2021
|-
| ||  Seventh Circle Prison guards
|}
Title Actor Character Notes Date
Black Widow Russian soldiers 2021
Seventh Circle Prison guards

Television

{{Media table start|television}}
| ''[[Born by Revolution: The Last Meeting (Rozhdyonnaya revolyutsiey: Poslednyaya vstrecha)]]'' || || ''Militsia'' personnel || || 1977
|}
Title Actor Character Notes / Episode Date
Born by Revolution: The Last Meeting (Rozhdyonnaya revolyutsiey: Poslednyaya vstrecha) Militsia personnel 1977

Anime

{{Media table start|anime}}
| ''[[New Dominion Tank Police]]'' || Tank Police Squad and criminals ||  || 1993
|}
Title Character Notes Date
New Dominion Tank Police Tank Police Squad and criminals 1993

Video Games

{{Media table start|video game}}
| ''[[Goldeneye 007]]'' || KF-7 soviet || || || 1997
|}
Title Appears as Mods Notes Date
Goldeneye 007 KF-7 soviet 1997

Example (Actor Pages)

{{Media table start|actor}}
| [[Springfield Armory Mil-Spec M1911A1|Springfield Armory 1911-A1]] || Mathilda || ''[[Léon (The Professional)]]'' || Customized, 9x19mm || 1994
|}
Gun Character Title Notes Date
Springfield Armory 1911-A1 Mathilda Léon (The Professional) Customized, 9x19mm 1994