Template:Definition/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 12: Line 12:
;'''NOTE''': This template will add the article to [[:Category:Definition]].
;'''NOTE''': This template will add the article to [[:Category:Definition]].


This template is to be used on definitions for words and phrases.
This template is used to format a page for defining a word or phrase.


''Word'' is the word or phrase to be defined.
''Word'' is the word or phrase to be defined.
Line 19: Line 19:


'''Optional Parameters:'''<BR \>
'''Optional Parameters:'''<BR \>
''Source'' is a citation or source of the information if any. Typically in the form of an internet link, but could be references from other sources as well. To link outside the wiki, use the URL enclosed by double brackets [[http://]]
''Source'' is a citation or source of the information if any. Typically in the form of an internet link, but could be references from other sources as well. To link outside the wiki, use the URL enclosed by single brackets [http://]


''Also''  is a reference to a related article at the wiki.<BR \>
''Also''  is a reference to a related article at the wiki.<BR \>
''Also2'' is a reference to a second related article at the wiki.<BR \>
 
''Also3'' is a reference to a third related article at the wiki.
If you need to add multiple sources or references, simply make a new line and format it to match the previous entry.


When adding this template to a wiki page, the easiest format to use is:
When adding this template to a wiki page, the easiest format to use is:
Line 32: Line 32:
|source&#61;
|source&#61;
|also&#61;
|also&#61;
|also2&#61;
|also3&#61;
}}
}}
</pre>
</pre>

Latest revision as of 04:04, 3 March 2024

This is a documentation subpage for Template:Definition (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{Definition|word=word|define=definition|source=source|also=reference|also2=reference|also3=reference}}

NOTE
This template will add the article to Category:Definition.

This template is used to format a page for defining a word or phrase.

Word is the word or phrase to be defined.

Define is the definition for the word or phrase. This could also be a short paragraph. To add more or alternate definitions simply write the additional definition on the next line with a pound sign (# ) and space at the beginning.

Optional Parameters:
Source is a citation or source of the information if any. Typically in the form of an internet link, but could be references from other sources as well. To link outside the wiki, use the URL enclosed by single brackets [http://]

Also is a reference to a related article at the wiki.

If you need to add multiple sources or references, simply make a new line and format it to match the previous entry.

When adding this template to a wiki page, the easiest format to use is:

{{Definition
|word=
|define=
|source=
|also=
}}

Or even easier:

{{Definition
|word=
|define=
}}