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: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span><span class="irldeftypespan">{{#arraymap:{{{Type|}}}|,|x| x }}</span></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>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span> | {{#if: {{{Pronunciation|}}} |<div class="irldefpro"><span class="irldeflabel">Pronunciation: </span>{{{Pronunciation|}}}</div> }}{{#if:{{{Type|}}}|<div class="irldeftype"><span class="irldeflabel">Word Class: </span><span class="irldeftypespan">{{#arraymap:{{{Type|}}}|,|x| x }}</span></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>}}{{#if: {{{RelatedURL|}}} |<div class="irldefrelated noprint"><span class="irldeflabel">Related Link: </span>{{{RelatedURL|}}}</div>}} | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 16:21, October 20, 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.