Template:GlossaryEntry/doc: Difference between revisions
Jump to navigation
Jump to search
AdminIsidore (talk | contribs) Created page with "This template defines a single glossary entry page. It performs two functions: # Sets the semantic properties (''Glossary-Term'' and ''Glossary-Definition'') needed for the Semantic Glossary extension to generate tooltips. # Creates a placeholder <code><div></code> with the class ''glossary-graph''. This div is targeted by the ''GlossaryGraph'' gadget to render a d3.js force-directed graph of the term's connections. == Usage ==..." |
AdminIsidore (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This template defines a single glossary entry page. | {{documentation|This template defines a single glossary entry page. | ||
It performs two functions: | It performs two functions: | ||
# Sets the semantic properties (''Glossary-Term'' and ''Glossary-Definition'') needed for the [[Extension:Semantic Glossary|Semantic Glossary]] extension to generate tooltips. | # Sets the semantic properties (''Glossary-Term'' and ''Glossary-Definition'') needed for the [[Extension:Semantic Glossary|Semantic Glossary]] extension to generate tooltips. | ||
# Creates a placeholder <code><div></code> with the class ''glossary-graph''. This div is targeted by the ''GlossaryGraph'' gadget to render a [[d3.js]] force-directed graph of the term's connections. | # Creates a placeholder <code><div></code> with the class ''glossary-graph''. This div is targeted by the ''GlossaryGraph'' gadget to render a [[d3.js]] force-directed graph of the term's connections. | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Line 11: | Line 9: | ||
|Definition=Your definition here. Wikilinks to other terms will automatically become nodes in the graph. | |Definition=Your definition here. Wikilinks to other terms will automatically become nodes in the graph. | ||
}} | }} | ||
</pre> | </pre>}} |