Template:Portal: Difference between revisions
Appearance
wikademia>Happy-melon attempt to fix padding |
wikademia>Gbaor the portal.svg image set as default - unchangeable |
||
| Line 1: | Line 1: | ||
<div | <div style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;" class="thumb tright"> | ||
{| style="background:transparent;" | {| style="background: transparent;" | ||
| | || [[Image:Portal.svg|36px|Portal]] | ||
| '''''[[Portal: | || '''''[[Portal:{{{1}}}|{{{1}}} portal]]''''' | ||
|} | |||
{{ | </div> | ||
<noinclude> | |||
== 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 portal related pages. It should consist from three parts. | |||
=== Example === | |||
'''<nowiki>{{Portal1|Life Sciences}}</nowiki>''' | |||
''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> | |||
=== Result === | |||
The example will look like this: | |||
{{Portal|Life Sciences}} | |||
</noinclude> | |||
[[Category:Internal link templates|{{PAGENAME}}]] | |||
Revision as of 05:03, 15 April 2008
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 portal related pages. It should consist from three parts.
Example
{{Portal1|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.
Result
The example will look like this: