(Error type updated) |
(Template data.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{title|}}}|{{#tag:ref|Wiki Article: [[{{{title|}}}]]|name="{{{title|}}}"}}|<strong class="error">Error</strong>{{#tip-info:Invalid Article Citation}}[[Category:Invalid Article Citation]]}}</includeonly><noinclude>{{Doc}}[[Category:Citation Templates]]< |
+ | <includeonly>{{#if:{{{title|}}}|{{#tag:ref|Wiki Article: [[{{{title|}}}]]|name="{{{title|}}}"}}|<strong class="error">Error</strong>{{#tip-info:Invalid Article Citation}}[[Category:Invalid Article Citation]]}}</includeonly><noinclude>{{Doc}}[[Category:Citation Templates]]<templatedata> |
+ | { |
||
+ | "params": { |
||
+ | "title": { |
||
+ | "description": "The title of the wiki page to be cited.", |
||
+ | "type": "wiki-page-name", |
||
+ | "required": true |
||
+ | } |
||
+ | }, |
||
+ | "description": "A template used to generate a reference to an article on the TBC Wiki." |
||
+ | } |
||
+ | </templatedata></noinclude> |
Revision as of 21:26, 16 October 2020
Documentation
[purge]
This is the template used to cite articles from the TBC Wiki.
Usage
{{CiteArticle |title = }}
Where
|title=
= the exact name of the article being referenced.
If |title=
is not applied, an error will appear at the point of the reference (see the example below) and [[Category:Invalid Article Citation]]
will be applied.
Example
The citation on the Zaina Madi-Shaw article:
{{CiteArticle |title=Journals/Transcript Pt 2 }}
Which produces:
In-line: [1]
In the reference section:
- ↑ Wiki Article: Journals/Transcript Pt 2
If the title
parameter is missing or no value given,
In-line: Error{{#tip-info:Invalid Article Citation}}
A template used to generate a reference to an article on the TBC Wiki.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The title of the wiki page to be cited. | Page name | required |