Template:Reference: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
< | <div class="ref-{{{1|1}}}"><sup class="mw-customtoggle-{{{1|1}}} mw-customtoggle" style="position:relative;color:#0645ad;" title="{{{title|Expand/Collapse Ref}}}">[{{{1|1}}}]</sup><span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{1|1}}}" style="background: #FFF;color: #222;font-size: 13px;line-height: 1.5em;border: 1px solid #C8CCD1;border-radius: 3px;padding: 2px 3px;">{{{2|Reference and Comments}}}</span></div> | ||
<noinclude> | <noinclude> | ||
Because the reference function of this wiki website is disabled,<res>has no actual effect. Now use Template to restore it. (However, it can only display the comments when you click, and cannot automatically generate the "Reference and Comments" chapter) | Because the reference function of this wiki website is disabled,<res>has no actual effect. Now use Template to restore it. (However, it can only display the comments when you click, and cannot automatically generate the "Reference and Comments" chapter) |
Revision as of 10:11, 5 November 2023
Because the reference function of this wiki website is disabled,<res>has no actual effect. Now use Template to restore it. (However, it can only display the comments when you click, and cannot automatically generate the "Reference and Comments" chapter)
You can abbreviate {{Reference}} to {{Ref}}, which is an allowed operation.
Usage
This template has three parameters.
{{Reference|1|2|title}}
or {{Ref|1|2|title}}
Fill in the number at 1
(required, default is 1
),
the corresponding content at 2
(default is Reference and Comments
),
and the mouse prompt at title
(optional, default is Expand/Collapse Ref
).
Example 1:
are you ok????{{Reference|#|from: hahahahaha}}yet!
Effect 1:
are you ok????
yet!
Example 2:
I'm from Coats Land{{Ref|4|"Coats Land" is a EMC country.|title=cilck}}, so I love Antarctica!
Effect 2:
I'm from Coats Land
, so I love Antarctica!