Template:Abbreviation: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 22: Line 22:
<templatestyles src="Definition/styles.css" />
<templatestyles src="Definition/styles.css" />
<div class="irlbody irldef">
<div class="irlbody irldef">
{{#ifeq:{{NAMESPACE}} | Glossary | {{IRL header library|cat=Dictionary|toc=no}} }}
{{#ifeq:{{NAMESPACE}} | Glossary | {{IRL header library|cat=Dictionary|depth=1|toc=no}} }}
<div class="irldefdiv"><div class="irldeftop">
<div class="irldefdiv"><div class="irldeftop">
<div class="irldefterm">{{{Term|}}}<span class="irldefabb"> ({{{Abb|}}})</span><!-- {{#if:{{{Article|}}}|<span class="irldeficon">[[File:bullet_page.png|16px|top|link={{{Article|}}}]]</span>}} --></div>
<div class="irldefterm">{{{Term|}}}<span class="irldefabb"> ({{{Abb|}}})</span><!-- {{#if:{{{Article|}}}|<span class="irldeficon">[[File:bullet_page.png|16px|top|link={{{Article|}}}]]</span>}} --></div>

Revision as of 15:13, November 24, 2020

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

{{Abbreviation
|Term=
|Abb=
|Definition=
|Article=
|RelatedURL=
|Poster=
|Postdate=
|TermID=
}}

Edit the page to see the template text.


This template adds rows to the table "definition", which is declared by the template Definition. View table.


Template documentation[view] [edit] [history] [purge]

Abbreviation Template Documentation

The abbreviation template uses the Abbreviation Form to collect info for an Abb entry. Abbreviation data is stored in the Cargo Definition table.

Template parameters

ParameterDescriptionTypeStatus
TermTerm

Word phrase to abbreviate. Auto-filled at form start.

Stringrequired
AbbreviationAbb

Abbreviation of the word phrase.

Stringrequired
DefinitionDefinition

Short description of the abbreviated word phrase.

Unknownrequired
ArticleArticle

Enter a related Page Title from this site.

Page nameoptional
Related Web SiteRelatedURL

Enter the full url (https://...) of a related web site.

URLoptional
PosterPoster

Abbreviation poster Username. Auto-filled.

Stringoptional
PostedPostdate

Date the entry was posted. Auto-filled.

Unknownoptional
Term IDTermID

Abbreviation ID is currently used for table sorting. Auto-filled

Unknownoptional