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
No edit summary
Line 1: Line 1:
<includeonly>{| class="wikitable" style="font-size: 95%; background-color:#ffffff"
<includeonly>{| class="wikitable" style="width:80%; font-size: 95%; background-color:#ffffff"
|-
|-
{{#ifeq: {{{1}}} | film |
{{#ifeq: {{{1}}} | film |
! width{{=}}"250" {{!}} Title
! width{{=}} 20% {{!}} Title
! width{{=}}"170" {{!}} Actor
! width{{=}} 20% {{!}} Actor
! width{{=}}"160" {{!}} Character
! width{{=}} 20% {{!}} Character
! width{{=}}"300" {{!}} Notes
! width{{=}} 20% {{!}} Notes
! width{{=}}"50" {{!}} Date
! width{{=}} 5% {{!}} Date
}}{{
}}{{
#ifeq: {{{1}}} | television |
#ifeq: {{{1}}} | 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
}}{{
}}{{
#ifeq: {{{1}}} | anime |
#ifeq: {{{1}}} | anime |
! width{{=}}"280" {{!}} Title
! width{{=}} 20% {{!}} Title
! width{{=}}"200" {{!}} Character
! width{{=}} 20% {{!}} Character
! width{{=}}"250" {{!}} Notes
! width{{=}} 20% {{!}} Notes
! width{{=}}"50" {{!}} Date
! width{{=}} 5% {{!}} Date
}}{{
}}{{
#ifeq: {{{1}}} | video game |
#ifeq: {{{1}}} | video game |
! width{{=}}"300" {{!}} Title
! width{{=}} 20% {{!}} Title
! width{{=}}"150" {{!}} Appears as
! width{{=}} 20% {{!}} Appears as
! width{{=}}"250" {{!}} Mods
! width{{=}} 20% {{!}} Mods
! width{{=}}"200" {{!}} Notes
! width{{=}} 20% {{!}} Notes
! width{{=}}"100" {{!}} Date
! width{{=}} 5% {{!}} Date
}}
}}
|-
|-

Revision as of 15:20, 4 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
|}
Springfield Armory 1911-A1 Mathilda Léon (The Professional) Customized, 9x19mm 1994