Difference between revisions of "Template:Infobox/themes"

From Twinsuniverse
Jump to: navigation, search
m (testing substitution for themestyles)
(added infobox)
 
(56 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{{{|subst:}}}#switch: {{lc:{{{1|}}}}}
+
<includeonly>{{#switch: {{lc:{{{1|}}}}}
|grey    =grey  {{safesubst:!}}border=#ccccdd{{safesubst:!}}mainbg=#eeeeff{{safesubst:!}}headbg=#ddddee{{safesubst:!}}color=#666677{{safesubst:!}}imageurl=/images/6/6e/Orb_grey30.png
+
|grey    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ccccdd|bg=#eeeeff|bgh=#ddddee|txt=#666677}}
|green  =green {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|green  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ccddcc|bg=#eeffee|bgh=#ddeedd|txt=#667766}}
|red    =red  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|red    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ddcccc|bg=#ffeeee|bgh=#eedddd|txt=#776666}}
|pink    =pink  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|pink    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ddccdd|bg=#ffeeff|bgh=#eeddee|txt=#776677}}
|pale    =pale  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|yellow  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ddddcc|bg=#ffffee|bgh=#eeeedd|txt=#777766}}
|cyan    =cyan  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|cyan    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ccdddd|bg=#eeffff|bgh=#ddeeee|txt=#667777}}
|blue    =blue  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|blue    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#bbccdd|bg=#ddeeff|bgh=#ccddee|txt=#556677}}
|orange  =orange{{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|orange  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ddccbb|bg=#ffeedd|bgh=#eeddcc|txt=#776655}}
|purple  =purple{{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|purple  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ccbbdd|bg=#eeddff|bgh=#ddccee|txt=#665577}}
|dblue  =dblue {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|dblue  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#5c74ad|bg=#ccd3e5|bgh=#94afe9|txt=#000e70}}
|navy    =navy  {{!}}border={{!}}mainbg={{!}}headbg={{!}}color={{!}}image=
+
|navy    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#000e70|bg=#bcc5e4|bgh=#5c74ad|txt=#000e70}}
|#default=void  {{safesubst:!}}border=#cccccc{{safesubst:!}}mainbg=#ffffff{{safesubst:!}}headbg=#ccccff{{safesubst:!}}color=#000000{{safesubst:!}}image=
+
|sand    = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#fed669|bg=#feeec2|bgh=#feeab4|txt=#a77901}}
}}</includeonly><noinclude>On this page are just small example infoboxes, to show the different themes designed for the Twinsuniverse. The colors and images are presets, and can only be changed by administrators in [[MediaWiki:Common.css|Common.css]]. You may request changes on the [[Template Talk:{{PAGENAME}}|discussion]] page.
+
|test1  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ccddee|bg=#eeffff|bgh=#ddeeff|txt=#667788}}
 +
|test2  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#eeddcc|bg=#ffffee|bgh=#ffeedd|txt=#887766}}
 +
|test3  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#cceedd|bg=#eeffff|bgh=#ddffee|txt=#668877}}
 +
|test4  = {{Infobox/themes/style|{{lc:{{{style|}}}}}|b=#ddeecc|bg=#ffffee|bgh=#eeffdd|txt=#778866}}
 +
}}</includeonly><noinclude>{{Infobox Template
 +
|purpose=infobox
 +
|singletag=no
 +
|multiline=no
 +
|gamerelated=no
 +
|suppressible=
 +
|choice=
 +
|cat1=
 +
|var1=
 +
}}
  
 +
This template is used by the {{Templatelink|Infobox}} template, to apply a certain theme.
  
'''''Note''': The spherical icons in the top left corners are temporary placeholders, real LBA-related icons are desirable.''
+
This page is also used to showmodel the different themes designed for the Twinsuniverse. The images are predefined under the ''Infobox Theme Icons'' heading in [[MediaWiki:Common.css]] (look for "theme-icon-''name''" class names), which can only be modified by administrators. You may request the addition of new icons on the [[Template Talk:{{PAGENAME}}|discussion]] page.
  
==Themes for use==
+
To use a theme, pass it's '''name''' value to the '''theme''' parameter of the infobox template.
These themes may be used for new <nowiki>{{</nowiki>[[Template:Infobox|Infobox]]<nowiki>}}</nowiki> {{categorylink|label=templates|category=Infoboxes}} or already have been designated to a particular one. If one has, this should be indicated by giving the '''portal''' value a link to the related category. To use a theme, pass it's '''class''' value to the similarly named parameter of the infobox.
+
 
 +
'''''Note''': The spherical "orb" icons are temporary placeholders, real LBA-related icons are desirable.''
 +
 
 +
==Themes for content subjects==
 +
These themes may be used for new {{categorylink|label={{Templatelink|Infobox}} templates|category=Infoboxes}} for content articles, or already have been designated to a particular one. If one has, this should be indicated by giving the '''portal''' heading a link to the related category. '''Guide:''' these colours should be generally bright.
  
 
{|
 
{|
 
|
 
|
{{infobox|class=land|title=Land|noimage=true
+
{{infobox|title=Grey|noimage=true|theme=grey
  |label1=Class|data1=land
+
  |label1=Name|data1=grey
  |label2=Color|data2=grey
+
  |label2=Portal|data2=[[:Category:Locations|Locations]]
|label3=Portal|data3=[[:Category:Locations|Locations]]
+
 
}}
 
}}
 
|
 
|
{{infobox|class=life|title=Life|noimage=true
+
{{infobox|title=Green|noimage=true|theme=green
  |label1=Class|data1=life
+
  |label1=Name|data1=green
  |label2=Color|data2=green
+
  |label2=Portal|data2=[[:Category:Characters|Characters]]
|label3=Portal|data3=[[:Category:Characters|Characters]]
+
 
}}
 
}}
 
|
 
|
{{infobox|class=item|title=Item|noimage=true
+
{{infobox|title=Red|noimage=true|theme=red
  |label1=Class|data1=item
+
  |label1=Name|data1=red
  |label2=Color|data2=red
+
  |label2=Portal|data2=[[:Category:Items|Items]]
|label3=Portal|data3=[[:Category:Items|Items]]
+
 
}}
 
}}
 +
|-
 
|
 
|
{{infobox|class=link|title=Link|noimage=true
+
{{infobox|title=Pink|noimage=true|theme=pink
  |label1=Class|data1=link
+
  |label1=Name|data1=pink
  |label2=Color|data2=pink
+
  |label2=Portal|data2=[[:Category:External Links|External Links]]
|label3=Portal|data3=[[:Category:External Links|External Links]]
+
 
}}
 
}}
|-
 
 
|
 
|
{{infobox|class=bugs|title=Bugs|noimage=true
+
{{infobox|title=Yellow|noimage=true|theme=yellow
  |label1=Class|data1=bugs
+
  |label1=Name|data1=yellow
  |label2=Color|data2=pale
+
  |label2=Portal|data2=[[:Category:Bugs|Bugs]]
|label3=Portal|data3=[[:Category:Bugs|Bugs]]
+
 
}}
 
}}
 
|
 
|
{{infobox|class=fare|title=Fare|noimage=true
+
{{infobox|title=Cyan|noimage=true|theme=cyan
  |label1=Class|data1=fare
+
  |label1=Name|data1=cyan
  |label2=Color|data2=cyan
+
  |label2=Portal|data2=[[:Category:Transports|Transports]]
|label3=Portal|data3=[[:Category:Transports|Transports]]
+
 
}}
 
}}
 +
|-
 
|
 
|
{{infobox|class=play|title=Play|noimage=true
+
{{infobox|title=Blue|noimage=true|theme=blue
  |label1=Class|data1=play
+
  |label1=Name|data1=blue
  |label2=Color|data2=blue
+
  |label2=Portal|data2=[[:Category:Challenges|Challenges]]
|label3=Portal|data3=[[:Category:Challenges|Challenges]]
+
 
}}
 
}}
 
|
 
|
{{infobox|class=army|title=Army|noimage=true
+
{{infobox|title=Orange|noimage=true|theme=orange
  |label1=Class|data1=army
+
  |label1=Name|data1=orange
  |label2=Color|data2=orange
+
  |label2=Portal|data2=[[:Category:Enemies|Enemies]]
|label3=Portal|data3=[[:Category:Enemies|Enemies]]
+
 
}}
 
}}
|-
 
 
|
 
|
{{infobox|class=work|title=Work|noimage=true
+
{{infobox|title=Purple|noimage=true|theme=purple
  |label1=Class|data1=work
+
  |label1=Name|data1=purple
  |label2=Color|data2=purple
+
  |label2=Portal|data2=[[:Category:Services|Services]]
  |label3=Portal|data3=[[:Category:Services|Services]]
+
}}
 +
|}
 +
 
 +
==Themes for project pages==
 +
These themes may be used for new {{categorylink|label={{Templatelink|Infobox}} templates|category=Infoboxes}} for project pages, or already have been designated to a particular one. If one has, this should be indicated by giving the '''portal''' heading a link to the related category. '''Guide:''' these colours may be generally darker.
 +
 
 +
{|
 +
|
 +
{{infobox|title=Darkblue|noimage=true|theme=dblue
 +
  |label1=Name|data1=dblue
 +
|label2=Portal|data2=[[:Category:Twinsuniverse - Help|Twinsuniverse - Help]]
 
}}
 
}}
 
|
 
|
{{infobox|class=help|title=Help|noimage=true
+
{{infobox|title=Navy|noimage=true|theme=navy
  |label1=Class|data1=help
+
  |label1=Name|data1=navy
  |label2=Color|data2=darkblue
+
  |label2=Portal|data2=[[:Category:Twinsuniverse - Users|Twinsuniverse - Users]]
|label3=Portal|data3=[[:Category:Twinsuniverse - Help|Twinsuniverse - Help]]
+
 
}}
 
}}
 
|
 
|
{{infobox|class=user|title=User|noimage=true
+
{{infobox|title=Sand|noimage=true|theme=sand
  |label1=Class|data1=user
+
  |label1=Name|data1=sand
  |label2=Color|data2=navy
+
  |label2=Portal|data2=[[:Category:Twinsuniverse - Templates|Twinsuniverse - Templates]]
|label3=Portal|data3=[[:Category:Twinsuniverse - Users|Twinsuniverse - Users]]
+
 
}}
 
}}
 
|}
 
|}
  
 
==Test themes==
 
==Test themes==
Below are new themes still in design mode. These are just temporary and should not be used.
+
Below are new themes still in design mode. These are just temporary and used to test out new colours for designing on this page.
 
{|
 
{|
 
|
 
|
{{infobox|class=new1|title=New1|noimage=true
+
{{infobox|title=Test1|noimage=true|theme=test1
  |label1=Class|data1=new1
+
  |label1=Name|data1=test1
  |label2=Color|data2=
+
  |label2=Portal|data2=
|label3=Portal|data3=
+
 
}}
 
}}
 
|
 
|
{{infobox|class=new2|title=New2|noimage=true
+
{{infobox|title=Test2|noimage=true|theme=test2
  |label1=Class|data1=new2
+
  |label1=Name|data1=test2
  |label2=Color|data2=
+
  |label2=Portal|data2=
|label3=Portal|data3=
+
 
}}
 
}}
 
|
 
|
{{infobox|class=new3|title=New3|noimage=true
+
{{infobox|title=Test3|noimage=true|theme=test3
  |label1=Class|data1=new3
+
  |label1=Name|data1=test3
  |label2=Color|data2=
+
  |label2=Portal|data2=
|label3=Portal|data3=
+
 
}}
 
}}
 
|
 
|
{{infobox|class=new4|title=New4|noimage=true
+
{{infobox|title=Test4|noimage=true|theme=test4
  |label1=Class|data1=new4
+
  |label1=Name|data1=test4
  |label2=Color|data2=
+
  |label2=Portal|data2=
|label3=Portal|data3=
+
 
}}
 
}}
 
|}
 
|}
  
[[Category:System Templates]]
 
[[Category:Infoboxes| ]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:03, 4 June 2014

Infobox/themes
Purpose

Infobox [list all]

Single tag

No [list all]

Multi-line

No [list all]

Protected

No [list all]

Game related

No [list all]

Categorization
Categories

none [list all]

Variables
Names

none [list all]

Subpages

This template is used by the {{Infobox}} template, to apply a certain theme.

This page is also used to showmodel the different themes designed for the Twinsuniverse. The images are predefined under the Infobox Theme Icons heading in MediaWiki:Common.css (look for "theme-icon-name" class names), which can only be modified by administrators. You may request the addition of new icons on the discussion page.

To use a theme, pass it's name value to the theme parameter of the infobox template.

Note: The spherical "orb" icons are temporary placeholders, real LBA-related icons are desirable.

Themes for content subjects

These themes may be used for new {{Infobox}} templates [list all] for content articles, or already have been designated to a particular one. If one has, this should be indicated by giving the portal heading a link to the related category. Guide: these colours should be generally bright.

Grey
Name

grey

Portal

Locations

Green
Name

green

Portal

Characters

Red
Name

red

Portal

Items

Pink
Name

pink

Portal

External Links

Yellow
Name

yellow

Portal

Bugs

Cyan
Name

cyan

Portal

Transports

Blue
Name

blue

Portal

Challenges

Orange
Name

orange

Portal

Enemies

Purple
Name

purple

Portal

Services

Themes for project pages

These themes may be used for new {{Infobox}} templates [list all] for project pages, or already have been designated to a particular one. If one has, this should be indicated by giving the portal heading a link to the related category. Guide: these colours may be generally darker.

Darkblue
Name

dblue

Portal

Twinsuniverse - Help

Navy
Name

navy

Portal

Twinsuniverse - Users

Sand
Name

sand

Portal

Twinsuniverse - Templates

Test themes

Below are new themes still in design mode. These are just temporary and used to test out new colours for designing on this page.

Test1
Name

test1

Test2
Name

test2

Test3
Name

test3

Test4
Name

test4