Jump to content

Template:Portal: Difference between revisions

From IdeaWazaWiki
wikademia>Gbaor
new portal related template
wikademia>Gbaor
bug
Line 8: Line 8:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
The template is used to create an internal link to desired portal with graphical enhancement. It should consist from three parts.
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 ===
=== Example ===
'''<nowiki>{{Portal|Portal.svg|Life sciences}}</nowiki>'''
'''<nowiki>{{Portal|Portal.svg|Life Sciences}}</nowiki>'''


''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:'' - 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>
''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>
''3rd part:'' - Life sciences - The name of the portal. Brackets ''[[ ]]'' are not needed, but the correct spelling should be used.<br>


=== Result ===
=== Result ===
The example will look like this:
The example will look like this:


{{Portal|Portal.svg|Life sciences}}
{{Portal|Portal.svg|Life Sciences}}


</noinclude>
</noinclude>

Revision as of 14:14, 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 can be used as a quick link from portal related pages. 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, but the correct spelling should be used.

Result

The example will look like this: