Jump to content

Template:StubBase: Difference between revisions

From IdeaWazaWiki
wikademia>Gbaor
another fix, hope it wil be good now
wikademia>Wikademia
m Text replace - '[[School:' to '[['
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><div class="boilerplate metadata" id="stub">
<includeonly><div class="boilerplate metadata plainlinks" id="stub">
{| cellpadding="0" cellspacing="0" style="background-color: transparent;"
{| cellpadding="0" cellspacing="0" style="background-color:transparent;"
| [[Image:{{{1}}}|30px|]]
| [[Image:{{{1}}}|30px|]]
| ''&nbsp;This article related to {{{2}}} is '''too short''' (so called „[[Wikiversity:Stub|stub]]“). You can help Wikiversity to expand it by clicking to the „edit“ button (or alternatively [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} here]) and fill in the text''.
| ''&nbsp;This {{{2}}} resource is a "[[Wikademia:Stub|stub]]". You can help [[Wikademia]] by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding to it].
|}
|}
</div></includeonly>
</div></includeonly><noinclude>


<noinclude>
== Usage ==
== Usage ==
The template is used to create an uniformed [[Wikiversity:Stub|stub]] [[:Category:Stub templates|template type]].It should consist from three parts.
The template is used to create an uniformed [[Wikademia:Stub|stub]] [[:Category:Stub templates|template type]]. It should consist from three parts.


=== Example ===
=== Example ===
'''<nowiki>{{StubBase|Puzzle stub.png|[[School:Medicine|Medicine]]}}</nowiki>'''
'''<nowiki>{{StubBase|Puzzle stub.png|[[Medicine|Medicine]]}}</nowiki>'''


''1st part:'' - StubBase - The name of the basic stub template, this shoud not be changed.<br>
''1st part:'' - StubBase - The name of the basic stub template, this shoud not be changed.<br>
''2nd part:'' - Puzzle stub.png - 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 templte. <br>
''2nd part:'' - Puzzle stub.png - 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:'' - <nowiki>[[School:Medicine|Medicine]]</nowiki> - Identification of the main topic of the stub template. Standard [[Making links|links]] can be used.<br>
''3rd part:'' - <nowiki>[[Medicine|Medicine]]</nowiki> - Identification of the main topic of the stub template. Standard [[Making links|links]] can be used.<br>


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


{| cellpadding="0" cellspacing="0" style="background-color: transparent;"
{{msg:StubBase|Puzzle stub.png|[[Medicine|Medicine]]}}
| [[Image:Puzzle stub.png|30px|]]
| ''&nbsp;This article related to [[School:Medicine|Medicine]] is '''too short''' (so called „[[Wikiversity:Stub|stub]]“). You can help Wikiversity to expand it by clicking to the „edit“ button (or alternatively [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} here]) and fill in the text''.
|}
 


== Optional ==
== Optional ==
For automatic categorization of stubs, where the template will be placed, please include also:
For optional ''(but very useful)'' enhancement [[Template talk:StubBase#Optional enhancement|see the talk page]].
 
''<nowiki>
<includeonly>[[Category:Medicine stubs]]</includeonly></nowiki>''................all stubs will be automatically incuded also in "Medicine stubs" category<br>
''<nowiki><noinclude>
''This adds page to [[:Category:Medicine stubs]].''</nowiki>''........just for information on the stub template page<br>
''<nowiki>[[Category:Stub templates|Medicine]]</noinclude></nowiki><noinclude>''.........................adds the new template to its category
 


[[Category:Stub templates|*]]
[[Category:Stub templates|*]]
</noinclude>
</noinclude>

Latest revision as of 03:39, 8 June 2009


Usage

The template is used to create an uniformed stub template type. It should consist from three parts.

Example

{{StubBase|Puzzle stub.png|[[Medicine|Medicine]]}}

1st part: - StubBase - The name of the basic stub template, this shoud not be changed.
2nd part: - Puzzle stub.png - 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: - [[Medicine|Medicine]] - Identification of the main topic of the stub template. Standard links can be used.

Result

The example will look like this:

Optional

For optional (but very useful) enhancement see the talk page.