Difference between revisions of "Template:Glossary"

From Discourse DB
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Glossary" template. It should be called in the following format: <pre> {{Glossary |Title= |Short= |Long= }} </pre> Edit the page to see the template t...")
 
Line 10: Line 10:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Glossary|Title=Text|Short=Wikitext|Long=Wikitext}}
+
{{#cargo_declare:_table=Glossary|Title=Text|Short=Wikitext|Long-field=Wikitext}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#cargo_store:_table=Glossary|Title={{{Title|}}}|Short={{{Short|}}}|Long={{{Long|}}} }}
+
{{#cargo_store:_table=Glossary|Title={{{Title|}}}|Short={{{Short|}}}|Long-field={{{Long|}}} }}
 
{{{Long|}}}
 
{{{Long|}}}
 
</includeonly>
 
</includeonly>

Revision as of 03:58, 12 September 2019

This is the "Glossary" template. It should be called in the following format:

{{Glossary
|Title=
|Short=
|Long=
}}

Edit the page to see the template text.

Error: field name "Long-field" cannot contain any of the following characters: .,<>(){}[]