Template:Reflist: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Taken from [http://en.wikipedia.org/wiki/Template:Reflist Wikipedia.]) |
PikaTepig999 (talk | contribs) (adding a "refs" parameter for defining references inside reflist + Documentation/TemplateData) |
||
Line 1: | Line 1: | ||
<div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> | <div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> | ||
{{#tag:references||group={{{group|}}}}}</div><noinclude>[[category:templates]]</noinclude> | {{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude> | ||
{{template|Reflist}} creates a citation list using the <code><nowiki><references></nowiki></code> tag. | |||
Also see [[Help:References]] and [[Bulbapedia:Manual of style/References]]. | |||
---- | |||
<templatedata> | |||
{ | |||
"params": { | |||
"refs": { | |||
"label": "References", | |||
"description": "Reference List. Can define \"<ref>\" tags here", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"group": { | |||
"label": "Group", | |||
"description": "Reference Group name", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"lower-alpha", | |||
"note", | |||
"footnote", | |||
"fn" | |||
], | |||
"suggested": true | |||
} | |||
}, | |||
"description": "This templates creates a citation list using the <references/> tag.", | |||
"paramOrder": [ | |||
"group", | |||
"refs" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
[[category:templates]] | |||
</noinclude> |
Latest revision as of 01:07, 1 May 2024
{{Reflist}}
creates a citation list using the <references>
tag.
Also see Help:References and Bulbapedia:Manual of style/References.
This templates creates a citation list using the <references/> tag.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Group | group | Reference Group name
| Line | suggested |
References | refs | Reference List. Can define "<ref>" tags here | String | suggested |