Template:Infobox Location: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(adding video abilities) |
Bongolium500 (talk | contribs) No edit summary |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
< | <infobox theme="infobox"> | ||
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title> | |||
<image source="image"> | |||
<caption source="caption"> | |||
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default> | |||
</caption> | |||
</image> | |||
<image source="image2"> | |||
<caption source="caption2"> | |||
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default> | |||
{{ #if: {{{ | </caption> | ||
{{ | </image> | ||
<data source="aka"><label>Also called:</label></data> | |||
<data source="type"><label>Type:</label></data> | |||
<data source="location"><label>Location:</label></data> | |||
<data source="moons"><label>Moons:</label></data> | |||
<data source="made by"><label>Made by:</label></data> | |||
<data source="natives"><label>Natives:</label></data> | |||
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''</format></data> | |||
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data> | |||
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''</format></data> | |||
| | <data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{#set:first appearance={{{first cs}}}}}</format></data> | ||
{{ | <data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''</format></data> | ||
{{ | <data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{#set:first appearance={{{only cs}}}}}</format></data> | ||
<data source="appearances"><label>Appearances:</label></data> | |||
{{ # | <group> | ||
{{ | <header>Official trailer</header> | ||
<data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data> | |||
{{# | </group> | ||
<group> | |||
<header>{{{clip name|Memorable moment}}}</header> | |||
<data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data> | |||
{{# | </group> | ||
<group> | |||
<header>{{{clip2 name|Another memorable moment}}}</header> | |||
<data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data> | |||
</group> | |||
<group> | |||
<header>{{{clip3 name|One more memorable moment}}}</header> | |||
<data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data> | |||
</group> | |||
<group> | |||
<header>{{{fullvid name|Full video}}}</header> | |||
<data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data> | |||
</group> | |||
<group> | |||
<header>{{{bts name|Behind the scenes video}}}</header> | |||
<data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data> | |||
</group> | |||
{{ | <group> | ||
<header>More behind the scenes stuff</header> | |||
{ | <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data> | ||
</group> | |||
{{ | <group> | ||
<header>Another behind the scenes moment</header> | |||
<data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data> | |||
</group> | |||
<group layout="horizontal"> | |||
<header>Leitmotif</header> | |||
<data source="leitmotif"><label>{{{leitmotif name|}}}</label><format>{{{leitmotif}}}</format></data> | |||
</group> | |||
</infobox> | |||
<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude> |
Latest revision as of 19:56, 19 February 2024
Instructions for {{Infobox Location}}
{{Infobox Location}} can be used for a variety of different locations, from individual buildings to whole galaxies.
Usage
How you use the template depends on the type of location you're dealing with: