Difference between revisions of "Template:Ref/up1"
Jump to navigation
Jump to search
(Testing) |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ <!-- If auth is defined, print '$auth. '. author is deprecated and not supported --> | {{ <!-- If auth is defined, print '$auth. '. author is deprecated and not supported --> | ||
#if: {{{auth |}}} | | #if: {{{auth |}}} | {{{auth}}}.  }}{{ | ||
<!-- If date is defined, print '($date). ' --> | <!-- If date is defined, print '($date). ' --> | ||
#if: {{{date |}}} | | #if: {{{date |}}} | ({{{date}}}).  }}{{ | ||
<!-- If | <!-- If title is defined, print '''$title''. ' --> | ||
#if: {{{ | #if: {{{title |}}} | ''{{{title}}}''.  }}{{ | ||
<!-- If pub is defined, print '$pub. ' --> | |||
#if: {{{pub |}}} | {{{pub}}}.  }}{{ | |||
<!-- If type is "int", then print '[[$doc |Verify this source]].' --> | <!-- If type is "int", then print '[[$doc |Verify this source]].' --> | ||
#ifeq: {{{type}}} | int | [[{{{doc}}} |Verify this source]]. | | #ifeq: {{{type}}} | int | [[{{{doc}}} |Verify this source]]. | | ||
{{ <!-- Type assumed to be ext. If fetch is defined, assume url and dom exist and print 'Fetched $fetch, from [$url $dom]. ' --> | {{ <!-- Type assumed to be ext. If fetch is defined, assume url and dom exist and print 'Fetched $fetch, from [$url $dom]. ' --> | ||
#if: {{{fetch |}}} | | #if: {{{fetch |}}} | Fetched {{{fetch}}}, from [{{{url}}} {{{dom}}}]. | | ||
{{<!--If fetch isn't defined, then if dom is defined, assume url exists and print '[$url $dom]. ' --> | {{<!--If fetch isn't defined, then if dom is defined, assume url exists and print '[$url $dom]. ' --> | ||
#if: {{{dom |}}} | [{{{url}}} {{{dom}}}] | | #if: {{{dom |}}} | [{{{url}}} {{{dom}}}] | | ||
{{ <!-- If neither fetch nor dom are definted, then if url exists, print '[$url]'. --> | {{ <!-- If neither fetch nor dom are definted, then if url exists, print '[$url]'. --> | ||
#if: {{{url|}}} | [{{{url}}}] }} }} }} }} | #if: {{{url|}}} | [{{{url}}}] }} }} }} }} |