User:Loc Vu-Quoc/sandbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
(Updated)
Line 1: Line 1:
= Anchor, jump target =
== Reference-link template ==
<span style="background-color:yellow">24.5.27, useful code: highlight text background.
</span><br>
<code>
<nowiki>
<span style="background-color:yellow">text to highlight here</span>
</nowiki>
</code>
Text blah blah blah
<code>
<nowiki>
<ref name="AUTHOR.YEAR"/><sup>:PAGE</sup><!--{{sfn|AUTHOR|YEAR|p=PAGE}}-->
</nowiki>
</code>
== Note-link template ==
In the main text, use the code below to set up the jump-to link "N.xxxx" and jump-back anchor "NOTE TITLE jump":
<br>
Text blah blah blah
<code>
<nowiki>
<sup>[[#NOTE TITLE |N.xxxx]]</sup><span id="NOTE TITLE jump"></span>
</nowiki>
</code>
Then in Section NOTES, use the code below for each Note to set up the jump-to anchor "NOTE TITLE" and jump-back link "N.xxxx":
<br>
<code>
<nowiki>
<!-- -->
</nowiki>
</code>
<br>
<code>
<nowiki>
<span id="NOTE TITLE"></span>
</nowiki>
</code>
<br>
<code>
<nowiki>
* (↑ [[#NOTE TITLE jump |N.xxxx]]) <i>NOTE TITLE here:</i>
</nowiki>
</code>
Then write the Note here...
[[Wikipedia:Help:Link]],
= Nguyen Ngoc Bich =
= Nguyen Ngoc Bich =
== Wikipedia ==
== Wikipedia ==

Revision as of 17:56, 30 October 2024

Anchor, jump target

Reference-link template

24.5.27, useful code: highlight text background.
<span style="background-color:yellow">text to highlight here</span>

Text blah blah blah <ref name="AUTHOR.YEAR"/><sup>:PAGE</sup><!--{{sfn|AUTHOR|YEAR|p=PAGE}}-->

Note-link template

In the main text, use the code below to set up the jump-to link "N.xxxx" and jump-back anchor "NOTE TITLE jump":
Text blah blah blah <sup>[[#NOTE TITLE |N.xxxx]]</sup><span id="NOTE TITLE jump"></span>

Then in Section NOTES, use the code below for each Note to set up the jump-to anchor "NOTE TITLE" and jump-back link "N.xxxx":
<!-- -->
<span id="NOTE TITLE"></span>
* (↑ [[#NOTE TITLE jump |N.xxxx]]) <i>NOTE TITLE here:</i> Then write the Note here...

Wikipedia:Help:Link,

Nguyen Ngoc Bich

Wikipedia

Citizendium

Other stuff saved

“This Is Just Terrorism”: Israel Bombs World Heritage Site in Lebanon, Threatens Major Hospital, October 24, 2024.

Hitler in Paris 1940