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 |
||
| Line 9: | Line 9: | ||
-->{{#ifeq:{{NAMESPACE}} |
-->{{#ifeq:{{NAMESPACE}} |
||
| User |
| User |
||
| [[Category: |
| [[Category:MCU Wiki contributors]] |
||
| [[Category: |
| [[Category:References]] |
||
}} |
}} |
||
}}{{#ifeq:{{{spoiler|}}} |
}}{{#ifeq:{{{spoiler|}}} |
||
| Line 17: | Line 17: | ||
|<!-- |
|<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}</div> |
-->}}</div>{{Infobox |
||
| name = Infobox Reference |
|||
| italic title = {{#switch: {{lc: {{{type|}}} }} | film | films | movie | movies | book | books | newspaper | newspapers = {{{Italic title|}}} | {{{italic title|no}}} }} |
|||
| above = {{#if: {{{name|}}} | {{{name}}} | {{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 | company | companies = Company | series | tv series = TV series | book | books = Book | newspaper | newspapers = Newspaper }}]] |
|||
| header40 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the MCU }} |
|||
| label41 = First mention |
|||
| data41 = {{{mention|}}} |
|||
| label42 = First appearance |
|||
| data42 = {{{appearance|}}} |
|||
}}<!-- |
|||
Retrieving the image name inside the "Infobox image" property |
Retrieving the image name inside the "Infobox image" property |
||
-->{{#if: {{{image|}}} | {{#set: |
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image}}} }} }}{{#set: prov={{#if: {{{prov|}}} | {{{prov}}} | {{PAGENAME}} }} }}<!-- |
||
--></includeonly><noinclude>{{Documentation}}</noinclude> |
--></includeonly><noinclude>{{Documentation}}</noinclude> |
||
Revision as of 17:27, 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. |
