Difference between revisions of "Template:Ref0"

From VLECK
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''{{{aut|anonymous}}}, {{{year|####}}}.
+
<includeonly>
'''{{{tit}}}. ''{{{src}}}''
+
'''{{{aut|anonymous}}}{{#if: {{{year|}}}|, {{{year}}}}}. '''
{{#if: {{{aut}}}|true|false}}
+
{{#if: {{{tit|}}}|{{{tit}}}. }}
 +
''{{#if: {{{src|}}}|{{{src}}}.}} ''
 +
</includeonly>
 +
<noinclude>
 +
Use '''ref0''' to create a formated, in-line literature reference. To get the same as formatted paragraph, use [[template:ref|ref]].
 +
 
 +
 
 +
===parameters ===
 +
 
 +
{| width="500"
 +
|- align=left
 +
! | name
 +
! | meaning
 +
! | default
 +
|-
 +
| aut || author name(s) || ''anomymous'' ||
 +
|-
 +
| year || publication year || (none) ||
 +
|-
 +
| tit || title          || (none) ||
 +
|-
 +
| src || bibliograpgical data || (none) ||
 +
|-
 +
|}
 +
 
 +
 
 +
=== example ===
 +
<pre>
 +
<nowiki>{{</nowiki>ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5|year=2005}}
 +
<nowiki>{{</nowiki>ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5}}
 +
<nowiki>{{</nowiki>ref0|aut=E. Miller|tit=The Sun}}
 +
<nowiki>{{</nowiki>ref0|aut=E. Miller|src=New York: Academic Press; 23-5}}
 +
<nowiki>{{</nowiki>ref0|aut=E. Miller|year=2005}}
 +
</pre>
 +
 
 +
shows as:
 +
 
 +
{{ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5|year=2005}}<Br>
 +
{{ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5}}<Br>
 +
{{ref0|aut=E. Miller|tit=The Sun}}<Br>
 +
{{ref0|aut=E. Miller|src=New York: Academic Press; 23-5}}<Br>
 +
{{ref0|aut=E. Miller|year=2005}}<Br>
 +
 
 +
</noinclude>

Latest revision as of 18:39, 13 March 2013


Use ref0 to create a formated, in-line literature reference. To get the same as formatted paragraph, use ref.


parameters

name meaning default
aut author name(s) anomymous
year publication year (none)
tit title (none)
src bibliograpgical data (none)


example

{{ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5|year=2005}}
{{ref0|aut=E. Miller|tit=The Sun|src=New York: Academic Press; 23-5}}
{{ref0|aut=E. Miller|tit=The Sun}}
{{ref0|aut=E. Miller|src=New York: Academic Press; 23-5}}
{{ref0|aut=E. Miller|year=2005}}

shows as:


E. Miller, 2005. The Sun. New York: Academic Press; 23-5.


E. Miller. The Sun. New York: Academic Press; 23-5.


E. Miller. The Sun.


E. Miller.

New York: Academic Press; 23-5.


E. Miller, 2005.