Template:COinS safe/doc
| This is a documentation subpage for Template:COinS safe It contains usage information, categories and other content that is not part of the original template page. |
Description
[edit source]Dis template dey show whether e safe to use inside citation templates or not. By default, e dey show say the template safe to use.
When the template dey set as "not safe", the page go enter Category:Templates not safe for use in citation templates. To stop categorization, use parameter |nocat=true.
How to use am
[edit source]To show say one template fit safely be used inside citation templates:
{{COinS safe}}
To show say one template NO suppose be used inside citation templates:
{{COinS safe|n}}
To add extra information after the normal message:
|addtext=
Examples
[edit source]| Code | Result | ||
|---|---|---|---|
{{COinS safe}} |
| ||
{{COinS safe|n}} |
| ||
{{COinS safe|addtext=Here is the extra info.}} |
| ||
{{COinS safe|n|addtext=Here is the extra info.}} |
|
Explain COinS issues
[edit source]Citation templates like Citation Style 1 and Template:Cs2 dey create COinS metadata. If one template dey used inside a citation template field, e fit put HTML inside the metadata.
Compare the rendered HTML for {{cite book}} with |author= when no template dey used and when {{smallcaps}} dey used.
The author metadata dey inside the rft.aulast field. For dis case, e dey percent-encoded and e render like dis:
<span class="smallcaps" style="font-variant:small-caps;">Sam Drucker</span>
Reference management software go understand the whole span as the author name.