Template:Infobox Reference: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:


| label1 = Reference type
| 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 }}]]
| 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 }}
| header40 = {{#if: {{{mention|}}}{{{appearance|}}}{{{wikipedia|}}} | Information non linked to the MCU }}
Line 53: Line 53:
Retrieving the image name inside the "Infobox image" property
Retrieving the image name inside the "Infobox image" property


-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image}}} }} }}{{#set: prov={{#if: {{{prov|}}} | {{{prov}}} | {{PAGENAME}} }} }}<!--
-->{{#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          = 
}}