Difference between revisions of "Template:Cite"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m
m (Replaced lots of spaces with tabs)
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{auth|noauth}}}{{{date|nodate}}}{{{title|notitle}}
<noinclude>{{Helpbox}}
| noauth         = ''{{{title}}}''. ({{{date}}}).
 
| nodate         = {{{auth}}}. ''{{{title}}}''.
</noinclude><includeonly>{{
| notitle       = {{{auth}}}. ({{{date}}}).
#switch: {{
| noauthnodate = ''{{{title}}}''.
#if:{{{auth |}}} | | noauth}}{{#if:{{{date |}}} | | nodate}}{{#if:{{{title |}}} | | notitle}}
| noauthnotitle = ({{{date}}}).
| noauth = {{#ifeq:{{{med}}} | magazine <!-- ------------- -->
| nodatenotitle = {{{auth}}}.
| {{{title}}} ({{{date}}}). <!-- No author set -->
| &#32;&#32;     = {{{auth}}}. ({{{date}}}). ''{{{title}}}''.
|''{{{title}}}'' ({{{date}}}). <!-- ------------- -->
|               = {{{auth}}}. ({{{date}}}). ''{{{title}}}''.
}} <!-- ------------- -->
}}
| nodate = {{#ifeq:{{{med}}} | magazine <!-- ------------- -->
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- ----------- -->
| &#32;& {{{auth2}}} <!-- ----------- -->
}}. {{{ title}}} <!-- ----------- -->
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- No date set -->
| &#32;& {{{auth2}}} <!-- ----------- -->
}}. ''{{{title}}}''. <!-- ----------- -->
}} <!-- ----------- -->
| notitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- ------------ -->
| &#32;& {{{auth2}}} <!-- No title set -->
}}. ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- ------------ -->
| noauthnodate = {{#ifeq:{{{med}}} | magazine <!-- ---------------------- -->
| {{{title}}}. <!-- No author nor date set -->
| ''{{{title}}}''. <!-- ---------------------- -->
}} <!-- ---------------------- -->
| noauthnotitle = ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- No author nor title set -->
| nodatenotitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- --------------------- -->
| &#32;& {{{auth2}}} <!-- No date nor title set -->
}}. [{{{desc |'''Description missing'''}}}]. <!-- --------------------- -->
| noauthnodatenotitle = [{{{desc |'''Description missing'''}}}]. <!-- None set, so print description -->
| = {{#ifeq:{{{med}}} | magazine <!-- -------------------- -->
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- -->
| &#32;& {{{auth2}}} <!-- -------------------- -->
}}. ({{{date}}}). {{{title}}}. <!-- All's fine and dandy -->
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- -->
| &#32;& {{{auth2}}} <!-- -------------------- -->
}}. ({{{date}}}). ''{{{title}}}''. <!-- -------------------- -->
}} <!-- -------------------- -->
| #default = Say, my good chap.  Have you checked the validity of your arguments? <!-- Brain fart -->
}}{{
#if:{{{pub |}}} | &#32;{{
#ifeq:{{{med}}} | magazine
| ''{{{pub}}}''
| {{{pub}}}
}}{{
#if:{{{issue |}}} | , ''{{{issue}}}''
}}{{
#if:{{{page |}}} | , {{{page}}}
}}.
}}{{
#switch: {{
#if:{{{fetch |}}} | | nofetch}}{{#if:{{{url |}}} | | nourl}}
| nofetch    = &#32;Retrieved from [{{{url}}} {{{dom |Crikey. Need a domain here, kthnxbye}}}]{{
#if:{{{dead |}}} | {{deadlink}}
}}.
| nourl      = &#32;Retrieved {{{fetch}}}.
|            = &#32;Retrieved {{{fetch}}} from [{{{url}}} {{{dom}}}]{{
#if:{{{dead |}}} | {{deadlink}}
}}.
| #default  =
}}{{
#ifeq:{{{type}}} | int | &#32;[''[[{{{doc}}} {{vb}}verify]]'']
}}</includeonly><noinclude>
 
[[Category:Citing]]
[[Category:Templates]]
 
</noinclude>

Latest revision as of 22:17, 29 December 2011