Jump to content

Template:Portal: Difference between revisions

From IdeaWazaWiki
wikademia>Happy-melon
rewrite per editprotected
wikademia>Gbaor
wikify, see also
Line 1: Line 1:
<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}};">
<div style="margin: 0 0 1em 1em; border: solid #aaa 1px; background: #f9f9f9; padding: 1ex; font-size: 90%;" class="thumb tright">
{| style="background:#f9f9f9; font-size:85%; line-height:110%; {{#if: {{{boxsize|{{{4|}}}}}} | width:{{{boxsize|{{{4}}}}}}px;}}"
{| style="background: transparent;"
| [[Image:{{{image|{{{2|Portal.svg}}}}}}|{{{size|{{{3|32}}}}}}x28px]]
|| [[Image:Portal.svg|36px|Portal]]
| style="padding:0 0.2em;" | '''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes|<br />|&#32;}}Portal]]'''''
|| '''''[[Portal:{{{1}}}|{{{1}}} portal]]'''''
|}
|}
</div><noinclude>
</div>
{{documentation}}<!--Please add any interwiki links etc on the /doc page, not here - thanks!--></noinclude>
 
<noinclude>
== Usage ==
The template is used to create an [[Making links#Terminology|internal link]] to desired [[Wikiversity:Portal|portal]] with graphical enhancement. It can be used as a quick link from [[Wikiversity:Schools|schools]], [[Wikiversity:Categories|categories]] or other portal related pages. It should consist from two parts.
 
=== Example ===
'''<nowiki>{{Portal|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}}
 
== See also ==
* [[Template:School]] - similar template for schools
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
</noinclude>

Revision as of 05:11, 17 April 2008

Portal [[Portal:{{{1}}}|{{{1}}} 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 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.

Result

The example will look like this:


See also