Difference between revisions of "Template:Ref/up1"
Jump to navigation
Jump to search
(Testing) |
m |
||
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 pub is defined, print '''$pub''. ' --> | <!-- If pub is defined, print '''$pub''. ' --> | ||
#if: {{{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 | #if: {{{url}}} | [{{{url}}}] }} }} }} }} |
Revision as of 19:09, 30 December 2010
[{{{url}}}]