Template:Definition: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
{{#cargo_declare:_table=definition|Term=String|Abb=String|Definition=Text|SourceURL=URL|Type=List (,) of String||Pronunciation=String|AudioFile=File|Synonym=String|Sentence=Text|Article=Page|RelatedURL=URL|ImageFile=File|Poster=String|Postdate=String|TermID=String}}</noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lc:{{{Term|}}} }}|Abb={{{Abb|}}}|Definition={{{Definition|}}}|SourceURL={{{SourceURL|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Synonym={{{Synonym|}}}|Sentence={{{Sentence|}}}|Article={{{Article|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermID|}}} }} | {{#cargo_declare:_table=definition|Term=String|Abb=String|Definition=Text|SourceURL=URL|Type=List (,) of String||Pronunciation=String|AudioFile=File|Synonym=String|Sentence=Text|Article=Page|RelatedURL=URL|ImageFile=File|Poster=String|Postdate=String|TermID=String}}</noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lc:{{{Term|}}} }}|Abb={{{Abb|}}}|Definition={{{Definition|}}}|SourceURL={{{SourceURL|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Synonym={{{Synonym|}}}|Sentence={{{Sentence|}}}|Article={{{Article|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermID|}}} }} | ||
<div class="irlbody irldef"> | |||
<templatestyles src="Definition/styles.css" /> | <templatestyles src="Definition/styles.css" /> | ||
{{#ifeq:{{NAMESPACE}} | Glossary | {{IRL header library|cat=Dictionary|toc=no}}{{IRL toc glossary}} }} | {{#ifeq:{{NAMESPACE}} | Glossary | {{IRL header library|cat=Dictionary|toc=no}}{{IRL toc glossary}} }} | ||
Line 39: | Line 39: | ||
</div></div> | </div></div> | ||
</div> | </div> | ||
{{#ifeq:{{NAMESPACE}} | Glossary | [[Category:Glossary]]{{#if:{{{Abb|}}}|[[Category:Abbreviations]]}}{{#default_form:definition}} }} | {{#ifeq:{{NAMESPACE}} | Glossary | [[Category:Glossary]]{{#if:{{{Abb|}}}|[[Category:Abbreviations]]}}{{#default_form:definition}} }} | ||
</includeonly> | </includeonly> |
Revision as of 18:18, November 26, 2020
This is the "definition" template. It should be called in the following format:
{{definition |Term= |Abb= |Definition= |SourceURL= |Type= |Pronunciation= |AudioFile= |Synonym= |Sentence= |Article= |RelatedURL= |ImageFile= |Poster= |Postdate= |TermID= }}
This template defines the table "definition". View table.