Template:Infobox Reference: Difference between revisions
From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
-->}}</div>{{Infobox |
-->}}</div>{{Infobox |
||
| name = Infobox Reference |
| name = Infobox Reference |
||
| italic title = {{#switch: {{lc: {{{type|}}} }} | film | films | franchise | franchises | movie | movies | book | books | newspaper | newspapers = {{{ |
| italic title = {{#switch: {{lc: {{{type|}}} }} | film | films | franchise | franchises | movie | movies | book | books | newspaper | newspapers = {{{italic title|}}} | {{{italic title|no}}} }} |
||
| above = {{#if: {{{ |
| above = {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} |
||
| subheaderstyle = background-color: #b32425; |
| subheaderstyle = background-color: #b32425; |
||
| 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|}}} | Information non linked to the MCU }} |
| header40 = {{#if: {{{mention|}}}{{{appearance|}}}{{{wikipedia|}}} | Information non linked to the MCU }} |
||
| label41 = First mention |
| label41 = First mention |
||
| Line 48: | Line 48: | ||
| data42 = {{{appearance|}}} |
| data42 = {{{appearance|}}} |
||
| data43 = {{#if: {{{wikipedia|}}} | {{w|{{{wikipedia}}}|Wikipedia article}} }} |
| 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}}} }} }}{{#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
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 =
}}
| The above documentation is transcluded from Template:Infobox Reference/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
