Template:Dummy reference/doc: Difference between revisions
Jump to navigation
Jump to search
Randombell (talk | contribs) Created page with "<includeonly><templatestyles src="Template:Fake link/styles.css" />{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{Error|Template:Dummy reference is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.}}Category:Articles with dummy references|<sup class="reference nowrap ltr fakelinks">[{{#ifeq:{{yes/no|{{{txtital|}}}}}|yes|<span style="font-style:italic">}}{{#if:{{{txtcol|}}}|<span style="color:{{{txtcol|}}..." |
Randombell (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
< | {{Documentation subpage}} | ||
<!-- Categories and interwikis go at the bottom of this page. --> | |||
</ | {{Template redirect|Fake citation|Dummy cite}} | ||
This template replicates the in-text citation rendered when using {{cite.php}} {{fnote}}. | |||
When used in article space, the template instead produces an error message and adds the page it is used on to [[:Category:Articles with dummy references]]. | |||
== Usage == | |||
The default {{tl|dummy reference}} creates an in-text citation labeled {{code|1}}: | |||
:{{dummy reference}} | |||
For other labels simply add the values; for example {{tlx|dummy reference|2}} renders as: | |||
:{{dummy reference|2}} | |||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Label", | |||
"description": "The number to use for the citation.", | |||
"example": "2", | |||
"type": "number", | |||
"default": "1" | |||
} | |||
}, | |||
"description": "Replicates the in-text citation rendered by Cite Footnotes.\nWhen used in article space, it produces an error message.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
== See also == | |||
{{fake template list}} | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories and interwikis go here: --> | |||
[[Category:Documentation assistance templates]] | |||
}}</includeonly> |
Latest revision as of 16:55, 20 August 2025
![]() | This is a documentation subpage for Template:Dummy reference. It contains usage information, categories and other content that is not part of the original template page. |
This template replicates the in-text citation rendered when using Cite Template:Fnote.
When used in article space, the template instead produces an error message and adds the page it is used on to Category:Articles with dummy references.
Usage
The default {{dummy reference}} creates an in-text citation labeled 1
:
- [1]
For other labels simply add the values; for example {{dummy reference|2}}
renders as:
- [2]
TemplateData
Replicates the in-text citation rendered by Cite Footnotes. When used in article space, it produces an error message.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Label | 1 | The number to use for the citation.
| Number | optional |
See also
Template | Appearance |
---|---|
{{fake clarify}} | Template:Fake clarify |
{{fake citation needed}} | [citation needed] |
{{fake verification needed}} | Template:Fake verification needed |
{{fake explain}} | Template:Fake explain |
{{fake heading}} | Section
|
{{fake notes and references}} | Template:Fake notes and references |
{{dummy reference}} | [1] |
{{dummy backlink}} | Template:Dummy backlink |
{{dummy footnote}} | Template:Dummy footnote |
{{fake link}} | Template:Fake link |
{{fake redlink}} | Template:Fake redlink |