Template:Definition: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=definition|Term=String|Abb=String|Type= | {{#cargo_declare:_table=definition|Term=String|Abb=String|Type=List (,) of String||Pronunciation=String|AudioFile=File|Definition=Text|Sentence=Text|Synonym=String|SourceURL=URL|RelatedURL=URL|ImageFile=File|Poster=String|Postdate=String|TermID=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lcfirst:{{{Term|}}} }}|Abb={{{Abb|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Definition={{{Definition|}}}|Sentence={{{Sentence|}}}|Synonym={{{Synonym|}}}|SourceURL={{{SourceURL|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermId|}}} }}{| | </noinclude><includeonly>{{#cargo_store:_table=definition|Term={{lcfirst:{{{Term|}}} }}|Abb={{{Abb|}}}|Type={{{Type|}}}|Pronunciation={{{Pronunciation|}}}|AudioFile={{{AudioFile|}}}|Definition={{{Definition|}}}|Sentence={{{Sentence|}}}|Synonym={{{Synonym|}}}|SourceURL={{{SourceURL|}}}|RelatedURL={{{RelatedURL|}}}|ImageFile={{{ImageFile|}}}|Poster={{{Poster|}}}|Postdate={{{Postdate|}}}|TermID={{{TermId|}}} }}{| | ||
<div class="irldefdiv" style="width:100%; float:left; box-sizing:border-box;margin-top:20px"> | <div class="irldefdiv" style="width:100%; float:left; box-sizing:border-box;margin-top:20px"> | ||
Line 29: | Line 29: | ||
{{#if: {{{Pronunciation|}}} {{{Type|}}} | <div class="irldeftoplinks"> | <div style="display: none;"> }} | {{#if: {{{Pronunciation|}}} {{{Type|}}} | <div class="irldeftoplinks"> | <div style="display: none;"> }} | ||
{{#if: {{{Pronunciation|}}} |<span class="irldefpro">( {{{Pronunciation|}}} )</span>| }} | {{#if: {{{Pronunciation|}}} |<span class="irldefpro">( {{{Pronunciation|}}} )</span>| }} | ||
{{#if: {{{Type|}}} |<span class="irldeftype">( {{{Type|}}} )</span>| }}</div> | {{#if: {{{Type|}}} |<span class="irldeftype">( {{{Type|}}} {{#arraymap:{{{Type|}}}|,|x| x }} )</span>| }} | ||
</div> | </div></div> | ||
{{#if: {{{AudioFile|}}} |<div class="irldefaudio"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>| }} | {{#if: {{{AudioFile|}}} |<div class="irldefaudio"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>| }} | ||
<div class="irldefmiddle"> | <div class="irldefmiddle"> |
Revision as of 19:09, November 9, 2019
This is the "definition" template. It should be called in the following format:
{{definition |Term= |Type= |Pronunciation= |AudioFile= |Definition= |SourceURL= |Sentence= |RelatedURL= |Synonym= |ImageFile= |Abb= |Poster= |Postdate= |TermID= }}
Edit the page to see the template text. This template defines the table "definition". View table.