Template:Infobox Reference: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
Created page with "<includeonly><div display="none">{{#set: Namespace free article name = {{PAGENAME}}}}{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!--..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
-->{{#ifeq:{{NAMESPACE}}
-->{{#ifeq:{{NAMESPACE}}
| User
| User
| [[Category:Battlestar Wiki contributors]]
| [[Category:MCU Wiki contributors]]
| [[Category:Films]]
| [[Category:References]]
}}
}}
}}{{#ifeq:{{{spoiler|}}}
}}{{#ifeq:{{{spoiler|}}}
Line 17: Line 17:
|<!--
|<!--
-->}}<!--
-->}}<!--
-->}}</div><!--
-->}}</div>{{Infobox
| name = Infobox Reference
| italic title = {{#switch: {{lc: {{{type|}}} }} | film | films | franchise | franchises | movie | movies | book | books | newspaper | newspapers = {{{italic title|}}} | {{{italic title|no}}} }}
| above = {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}

| subheaderstyle = background-color: #b32425;
| subheader = {{#if: {{{alternate timeline|}}} | This reference is part of an [[reference part of::alternate timeline]] }}
| subheaderstyle2 = background-color: #b32425;
| subheader2 = {{#if: {{{alternate timeline|}}} | This reference is part of an [[reference part of::alternate timeline]] }}
| subheaderstyle3 = background-color: #b32425;
| subheader3 = {{#if: {{{alternate reality|}}} | This reference is part of an [[reference part of::alternate reality]] }}
| subheaderstyle4 = background-color: #b32425;
| subheader4 = {{#if: {{{hallucination|}}} | This reference is part of an [[reference part of::hallucination]] }}

| image = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| caption = {{{caption|}}}

| headerstyle =
| labelstyle = vertical-align: top; text-align: left;

| label1 = Reference type
| data1 = [[Reference type::{{#switch: {{lc: {{{type|film}}} }} | film | films | movie | movies = Movie | franchise | franchises = Franchise | company | companies = Company | series | tv series = TV series | book | books = Book | newspaper | newspapers = Newspaper }}]]

| header40 = {{#if: {{{mention|}}}{{{appearance|}}}{{{wikipedia|}}} | Information non linked to the MCU }}

| label41 = First mention
| data41 = {{{mention|}}}

| label42 = First appearance
| data42 = {{{appearance|}}}

| data43 = {{#if: {{{wikipedia|}}} | {{w| {{{wikipedia}}} | Wikipedia article }} }}
}}<!--


Retrieving the image name inside the "Infobox image" property
Retrieving the image name inside the "Infobox image" property


-->{{#if: {{{image|}}} | {{#set: infobox image = {{{image}}} }} | {{#if: {{{series|}}} | {{#set: infobox image = {{series abv|series={{{series|}}} }} logo.jpg}} | {{#set: infobox image = Wiki.png }} }} }}<!--
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image}}} }} }}{{#set: prov = {{#if: {{{prov|}}} | {{{prov}}} | {{PAGENAME}} }} }}<!--

-->{{#set: Name = {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} }}<!--


--></includeonly><noinclude>{{Documentation}}</noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:28, 24 March 2019

Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Reference
 | nocat              = 
 | sort               = 
 | spoiler            = 
 | separate           = 
 | category           = 
 | title              = 
 | alternate timeline = <!-- semantic data, anything to set -->
 | alternate reality  = <!-- semantic data, anything to set -->
 | hallucination      = <!-- semantic data, anything to set -->
 | framework          = <!-- semantic data, anything to set -->
 | image              = 
 | caption            = 
 | type               = <!-- Semantic data, DO NOT WIKIFY -->
 | mention            = <!-- the first one -->
 | appearance         = <!-- the first one -->
 | wikipedia          = 
}}