Template:Definition: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 34: Line 34:
<div class="irldefdef">{{{Definition|}}}<span class="irldefsource noprint">[{{{SourceURL|}}} Source]</span></div>
<div class="irldefdef">{{{Definition|}}}<span class="irldefsource noprint">[{{{SourceURL|}}} Source]</span></div>
<div class="irldeflinks">
<div class="irldeflinks">
{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}}
{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span>{{#arraymap:{{{Type|}}}|,|x| x }}</div>}}{{#if: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if: {{{AudioFile|}}} |<div class="irldefaudio noprint"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>}}{{#if: {{{Synonym|}}} |<div class="irldefsynonym"><span class="irldeflabel">Synonym: </span>{{{Synonym|}}}</div> }}{{#if: {{{Sentence|}}} |<div class="irldefexample"><span class="irldeflabel">Example: </span><span class="irldefsentence">{{{Sentence|}}}</span></div>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>[{{{RelatedURL|}}} ]</div>}}
{{#if: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div>}}
{{#if: {{{AudioFile|}}} |<div class="irldefaudio noprint"><span class="irldefaudioplayer">[[File:{{{AudioFile|}}}]]</span></div>}}
{{#if: {{{Synonym|}}} |<div class="irldefsynonym"><span class="irldeflabel">Synonym: </span>{{{Synonym|}}}</div>}}
{{#if: {{{Sentence|}}} |<div class="irldefexample"><span class="irldeflabel">Example: </span><span class="irldefsentence">{{{Sentence|}}}</span></div>}}
<!-- {{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}} -->
<!-- {{#ifexist: {{SUBPAGENAME}}|<div class="irldefread noprint"><span class="irldeflabel">See Also: </span>[[{{SUBPAGENAME}}]]</div>}} -->
{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>[{{{RelatedURL|}}} ]</div>}}
</div>
</div>
</div>
</div>

Revision as of 20:11, October 15, 2020

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.