Template:Portal: Difference between revisions
Appearance
wikademia>Gbaor wikify, see also |
wikademia>Wikademia m 161 revisions |
||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<div style=" | <div class="{{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#ifeq:{{{left|}}}|yes|0.5em 0.5em 0.5em 0|0.5em 0 0.5em 0.5em}};"> | ||
{| style="background: transparent;" | {| style="background: transparent; font-size:90%;" | ||
| [[Image:{{{image|{{{2|Portal.svg}}}}}}|36px|Portal]] | |||
| '''''[[Portal:{{{1}}}|{{{1}}} portal]]''''' | |||
|} | |} | ||
</div> | </div> | ||
| Line 8: | Line 8: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
The template is used to create an [[Making links#Terminology|internal link]] to desired [[ | The template is used to create an [[Making links#Terminology|internal link]] to desired [[Wikademia:Portal|portal]] with graphical enhancement. It can be used as a quick link from [[Wikademia:Schools|schools]], [[Wikademia:Categories|categories]] or other portal related pages. It should consist from two parts. | ||
=== Example === | === Example === | ||
| Line 15: | Line 15: | ||
''1st part:'' - Portal - The name of the basic stub template, this shoud not be changed.<br> | ''1st part:'' - Portal - The name of the basic stub template, this shoud not be changed.<br> | ||
''2nd part:'' - Life sciences - The name of the portal. Brackets ''[[ ]]'' are not needed, but the correct spelling should be used.<br> | ''2nd part:'' - Life sciences - The name of the portal. Brackets ''[[ ]]'' are not needed, but the correct spelling should be used.<br> | ||
''3rd part (optional):'' - You can specify any image for particular template. If this part is not included, the image [[:Image:Portal.svg|Portal.svg]] will be displayed by default. | |||
=== Result === | === Result === | ||
The example will look like this: | The example will look like this: | ||
{{Portal|Life Sciences}} | '''<nowiki>{{Portal|Life Sciences}}</nowiki>''' {{Portal|Life Sciences}} | ||
<p> | |||
'''<nowiki>{{Portal|Life Sciences|Bees Collecting Pollen cropped.jpg}}</nowiki>''' {{Portal|Life Sciences|Bees Collecting Pollen cropped.jpg}} | |||
== See also == | == See also == | ||
Latest revision as of 06:15, 27 April 2009
Usage
The template is used to create an internal link to desired portal with graphical enhancement. It can be used as a quick link from schools, categories or other portal related pages. It should consist from two parts.
Example
{{Portal|Life Sciences}}
1st part: - Portal - The name of the basic stub template, this shoud not be changed.
2nd part: - Life sciences - The name of the portal. Brackets [[ ]] are not needed, but the correct spelling should be used.
3rd part (optional): - You can specify any image for particular template. If this part is not included, the image Portal.svg will be displayed by default.
Result
The example will look like this:
{{Portal|Life Sciences}}
{{Portal|Life Sciences|Bees Collecting Pollen cropped.jpg}}
See also
- Template:School - similar template for schools