Jump to content

Template:StubBase: Difference between revisions

From IdeaWazaWiki
wikademia>Darklama
m some minor improvements
wikademia>Wikademia
m Text replace - '[[School:' to '[['
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{| cellpadding="0" cellspacing="0" style="background-color:transparent;"
{| cellpadding="0" cellspacing="0" style="background-color:transparent;"
  | [[Image:{{{1}}}|30px|]]
  | [[Image:{{{1}}}|30px|]]
  | '' This {{{2}}} resource is a "[[Wikiversity:Stub|stub]]". You can help [[Wikiversity]] by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding to it].
  | '' This {{{2}}} resource is a "[[Wikademia:Stub|stub]]". You can help [[Wikademia]] by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding to it].
  |}
  |}
</div></includeonly><noinclude>
</div></includeonly><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 template. <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:


{{msg:StubBase|Puzzle stub.png|[[School:Medicine|Medicine]]}}
{{msg:StubBase|Puzzle stub.png|[[Medicine|Medicine]]}}


== Optional ==
== Optional ==

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.