Template:Portal: Difference between revisions
Appearance
wikademia>Chmod007 CSS class portal |
wikademia>Gbaor new portal related template |
||
| 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:{{{1}}}|36px|Portal]] | ||
| '''''[[Portal:{{{ | || '''''[[Portal:{{{2}}}|{{{2}}} portal]]''''' | ||
|}</div><noinclude> | |} | ||
{{ | </div> | ||
<noinclude> | |||
== Usage == | |||
The template is used to create an internal link to desired portal with graphical enhancement. It should consist from three parts. | |||
=== Example === | |||
'''<nowiki>{{Portal|Portal.svg|Life sciences}}</nowiki>''' | |||
''1st part:'' - Portal - The name of the basic stub template, this shoud not be changed.<br> | |||
''2nd part:'' - Portal.svg - The image, that will be used in the template, but '''without''' the "Image:" prefix or the desired size. They are already included in the basic template. <br> | |||
''3rd part:'' - Life sciences - The name of the portal. Brackets ''[[ ]]'' are not needed.<br> | |||
=== Result === | |||
The example will look like this: | |||
{{Portal|Portal.svg|Life sciences}} | |||
</noinclude> | |||
Revision as of 14:10, 17 March 2008
| [[Image:{{{1}}}|36px|Portal]] | [[Portal:{{{2}}}|{{{2}}} portal]] |
Usage
The template is used to create an internal link to desired portal with graphical enhancement. It should consist from three parts.
Example
{{Portal|Portal.svg|Life sciences}}
1st part: - Portal - The name of the basic stub template, this shoud not be changed.
2nd part: - Portal.svg - The image, that will be used in the template, but without the "Image:" prefix or the desired size. They are already included in the basic template.
3rd part: - Life sciences - The name of the portal. Brackets [[ ]] are not needed.
Result
The example will look like this: