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

From blackwiki
Jump to navigation Jump to search
imported>Anypodetos
(Next try)
imported>Anypodetos
m (Better choices for colours)
 
Line 1: Line 1:
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>
+
style="color:{{#switch:{{{1}}}|M=green|S=maroon|inherit}}; background:{{#switch:{{{2}}}|A=&#35;bbf|C=&#35;fda|E=&#35;ddd|H=&#35;cce|S=&#35;fbf|inherit}}"<noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:04, 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