Template:WikiProject Lua header: Difference between revisions
Template page
More actions
Created page with "<templatestyles src="Template:WikiProject Lua header/styles.css" />{{page tabs |Background=light-dark(#f5f5ff, #272730) |tab-bg=light-dark(#f5f5ff, #272730) |tab1-bg=light-dark(#cecef2, #4a4a6e) |class=wp-lua-header |1=<span style="margin: -5px 0;display:inline-block">22px|link=WP:Lua</span> WP:Lua |2=(talk) |3=Help |4=To do |5=Resources |6=:mw:Extension:S..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|class=wp-lua-header | |class=wp-lua-header | ||
|1=<span style="margin: -5px 0;display:inline-block">[[File:Lua-Logo.svg|22px|link=WP:Lua]]</span> [[WP:Lua]] | |1=<span style="margin: -5px 0;display:inline-block">[[File:Lua-Logo.svg|22px|link=WP:Lua]]</span> [[Help:WP:Lua]] | ||
|2=[[ | |2=[[Help:Lua|Help]] | ||
|3=[[Help:Lua| | |3=[[Help:Lua/Links|Links]] | ||
|4=[[ | |4=[[Help:Lua/Resources|Resources]] | ||
|5=[[:mw:Extension:Scribunto/Lua reference manual|Reference manual]] | |||
| | |||
|This={{#switch:{{FULLPAGENAME}}| Wikipedia:Lua = 1 | Wikipedia talk:Lua = 2 | Help:Lua = 3 | Wikipedia:Lua/To do = 4 | Wikipedia:Lua/Resources = 5}} | |This={{#switch:{{FULLPAGENAME}}| Wikipedia:Lua = 1 | Wikipedia talk:Lua = 2 | Help:Lua = 3 | Wikipedia:Lua/To do = 4 | Wikipedia:Lua/Resources = 5}} | ||
}}<!-- | }}<!-- | ||
Line 27: | Line 26: | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
[[Category:Lua language on Wikipedia]] | |||
[[Category:Pages with syntax highlighting errors]] | |||
[[Category:Templates using TemplateStyles]] | |||
[[Category:WikiProject templates|Lua]] |
Latest revision as of 21:30, 16 May 2025
This template uses TemplateStyles: |
Usage
Add to page: {{WikiProject Lua header}}
Will show:
Background
Colors used are derived from the dark blue in the Lua logo:
RGB | HSV | Color | General usage | Note | |
---|---|---|---|---|---|
1 | #000080 |
240°, 100%, 50% | Source sample | Lua logo | |
2 | #0000FF |
Hue=240° (66.7%; 170/255dec) 100%, 100% | Basic hue | What we'd call the color | |
3 | #A3A3BF |
240°, 15%, 75% | Header border only | ||
4 | #CECEF2 |
240°, 15%, 95% | Main border; Header background | ||
5 | #E6E6FF |
240°, 10%, 100% | 2nd header, accent colour | ||
6 | #F5F5FF |
240°, 4%, 100% | Main background |
Colors used in the header:
Border: 2 (not 3 to associate well with basic Lua color)
Active tab and wide bottom bar: 5
Inactive tabs: 6
Not used: 4