Difference between revisions of "Template:ISO 639-3 style"

From blackwiki
Jump to navigation Jump to search
imported>Anypodetos
m (fixed colour codes)
imported>Anypodetos
(Next try)
Line 1: Line 1:
style="color:{{#switch:{{{1}}}|M=blue|S=red|inherit}}; background:{{#switch:{{{2}}}|A=#ccf|C=#cfc|E=#ddd|H=#cff|S=#fbf|inherit}}"<noinclude>
+
style="color:{{#switch:{{{1}}}|M=blue|S=red|inherit}}; background:{{#switch:{{{2}}}|A=&#35;ccf|C=&#35;cfc|E=&#35;ddd|H=&#35;cff|S=&#35;fbf|inherit}}"<noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:53, 5 December 2010

style="color:inherit; background:inherit"

Template documentation[view] [edit] [history] [purge]

Usage

For use in ISO 639:a and subsequent tables. This template adds text and background colour to table rows to code for ISO 639-3 language scope and type, respectively.

{{ISO 639-3 style | <scope> | <type> }}

Values for first (scope) parameter: I = individual language, M = macrolanguage, S = special

Values for second (type) parameter: A = ancient, C = constructed, E = extinct, H = historical, L = living, S = special

See also