Difference between revisions of "Template:Tag"

From WikiConference North America
Jump to navigation Jump to search
(Replacing redirect with template)
(Adding docs)
Line 1: Line 1:
  +
<noinclude>
{{#if:{{{1|}}}|
 
  +
A tag produces a small colored box that is used to label program sessions.
  +
  +
Use by placing <code><nowiki>{{tag|<type>}}</nowiki></code>, replacing <code><type></code> with the session type.
  +
  +
For example, <code><nowiki>{{tag|Education}}</nowiki></code> will produce {{tag|Education}}
  +
  +
Defined session types that have unique colors (can be edited at [[Template:TagColor]]):
  +
* Academic
  +
* All Hands
  +
* Caribbean
  +
* Community
  +
* Commons
  +
* Discussion
  +
* Edit-a-thon
  +
* Education
  +
* GLAM
  +
* Gender Gap
  +
* Health-Med
  +
* Inclusion
  +
* Introductory
  +
* Keynote
  +
* Languages
  +
* Libraries
  +
* Lightning Talks
  +
* Mexico
  +
* Multimedia
  +
* Panel
  +
* Quality
  +
* Research
  +
* Science
  +
* Tech
  +
* Tutorial
  +
* Unconference
  +
* WMF
  +
* WikiEd
  +
* Wikidata
 
</noinclude>{{#if:{{{1|}}}|
 
<span style="display:inline-block; background-color:{{Tagcolor|{{{1}}}}}; border: 2px solid LightGray; padding: 1px 5px 2px; border-spacing: 5px; "> '''{{{1}}}''' </span>
 
<span style="display:inline-block; background-color:{{Tagcolor|{{{1}}}}}; border: 2px solid LightGray; padding: 1px 5px 2px; border-spacing: 5px; "> '''{{{1}}}''' </span>
 
}}
 
}}

Revision as of 10:16, 4 October 2019

A tag produces a small colored box that is used to label program sessions.

Use by placing {{tag|<type>}}, replacing <type> with the session type.

For example, {{tag|Education}} will produce Education

Defined session types that have unique colors (can be edited at Template:TagColor):

  • Academic
  • All Hands
  • Caribbean
  • Community
  • Commons
  • Discussion
  • Edit-a-thon
  • Education
  • GLAM
  • Gender Gap
  • Health-Med
  • Inclusion
  • Introductory
  • Keynote
  • Languages
  • Libraries
  • Lightning Talks
  • Mexico
  • Multimedia
  • Panel
  • Quality
  • Research
  • Science
  • Tech
  • Tutorial
  • Unconference
  • WMF
  • WikiEd
  • Wikidata