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
(Created page with "<includeonly>{| class="wikitable" style="font-size: 95%; background-color:#ffffff" {{#ifeq: {{{1}}} | film | |- ! width="250" | Title ! width="170" | Actor ! width="160" | Cha...")
 
(Adding support for actor page tables.)
 
(13 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 |
|-
|-
! width="250" | Title
{{#switch: {{{1|}}}
! width="170" | Actor
| film =
! width="160" | Character
! width{{=}} 20% {{!}} Title
! width="300" | Note
! width{{=}} 20% {{!}} Actor
! width="50" | Date
! width{{=}} 20% {{!}} Character
! width{{=}} 20% {{!}} Notes
! width{{=}} 5% {{!}} Date
| television =
! width{{=}} 20% {{!}} Title
! width{{=}} 20% {{!}} Actor
! width{{=}} 20% {{!}} Character
! width{{=}} 20% {{!}} Notes / Episode
! width{{=}} 5% {{!}} Date
| anime =
! width{{=}} 20% {{!}} Title
! width{{=}} 20% {{!}} Character
! width{{=}} 20% {{!}} Notes
! width{{=}} 5% {{!}} Date
| video game =
! width{{=}} 20% {{!}} Title
! width{{=}} 20% {{!}} Appears as
! width{{=}} 20% {{!}} Mods
! width{{=}} 20% {{!}} Notes
! width{{=}} 5% {{!}} Date
| actor =
! width{{=}} 20% {{!}} Gun
! width{{=}} 20% {{!}} Character
! width{{=}} 20% {{!}} Title
! width{{=}} 20% {{!}} Notes
! width{{=}} 5% {{!}} Date
}}
|-
|-
}}
</includeonly><noinclude>{{documentation}}
</includeonly><noinclude>{{documentation}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

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