Template:G/doc: Difference between revisions

From PoliticalSG
(Created page with "This template is designed to be used inside articles to define terms for the glossary. The defined term in the article must '''match''' the term in the glossary. Take note it is using square brackets and not curly braces. <pre> MSE </pre> Category:Templates")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is designed to be used inside articles to define terms for the glossary. The defined term in the article must '''match''' the term in the [[glossary]]. Take note it is using square brackets and not curly braces.
This template is designed to be used inside articles to define terms for the glossary. The defined term in the article must '''match''' the term in the [[Glossary]] and must exist in the [[Glossary]]. Otherwise, the link only leads to the top of the page on the [[Glossary]].
<pre>
{{g | }}
</pre>
 
There must be '''no spacing''' before or after the term to be defined. Below shows the complete template sample.


<pre>
<pre>
[[:Glossary#MSE | MSE]]
{{g |MSE}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 19:09, 13 February 2025

This template is designed to be used inside articles to define terms for the glossary. The defined term in the article must match the term in the Glossary and must exist in the Glossary. Otherwise, the link only leads to the top of the page on the Glossary.

{{g | }}

There must be no spacing before or after the term to be defined. Below shows the complete template sample.

{{g |MSE}}