Template:CurationTag

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
(New page: <div class="tag {{{color-class|greyBg}}}"><table style="background:transparent"><tr style="background:transparent">{{ #if: {{{img|}}}|<td style="background:transparent">{{{img}}}|}}<td sty...)
Current revision (10:21, 5 February 2010) (view source)
 
Line 1: Line 1:
-
<div class="tag {{{color-class|greyBg}}}"><table style="background:transparent"><tr style="background:transparent">{{ #if: {{{img|}}}|<td style="background:transparent">{{{img}}}|}}<td style="background:transparent">{{{msg}}}</tr></table></div><noinclude>
+
<div id="UNIQUEID_hover" class="tag {{{color-class|greyBg}}}"><table style="background:transparent"><tr style="background:transparent">{{ #if: {{{img|}}}|<td style="background:transparent">{{{img}}}|}}<td style="background:transparent">{{{head}}}<span id="UNIQUEID_show" style="display:none">{{{msg|}}}</span></tr></table></div><noinclude>
== Usage ==
== Usage ==
This template creates a curation tag to be displayed on the pathway page.
This template creates a curation tag to be displayed on the pathway page.
Line 5: Line 5:
The following call to this template:
The following call to this template:
  <nowiki>
  <nowiki>
-
{{CurationTag|msg=Tag message goes here|img=[[Image:Question book.png|50px]]|color-class=redBg}}</nowiki>
+
{{CurationTag|head=Tag header/title goes here|msg=Tag message goes here|img=[[Image:Question book.png|50px]]|color-class=redBg}}</nowiki>
Will result in the following tag:
Will result in the following tag:
{{CurationTag|msg=Tag message goes here|img=[[Image:Question book.png|50px]]|color-class=redBg}}
{{CurationTag|msg=Tag message goes here|img=[[Image:Question book.png|50px]]|color-class=redBg}}
</noinclude>
</noinclude>

Current revision

{{{head}}}

Usage

This template creates a curation tag to be displayed on the pathway page.

The following call to this template:

{{CurationTag|head=Tag header/title goes here|msg=Tag message goes here|img=[[Image:Question book.png|50px]]|color-class=redBg}}

Will result in the following tag:

{{{head}}}


Personal tools