The Blackout Club Wiki
(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]]</noinclude>
+
<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

Template-info Documentation

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:

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.

Template parameters

ParameterDescriptionTypeStatus
titletitle

The title of the wiki page to be cited.

Page namerequired