Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox coordinator: Difference between revisions

Template page
Muhib (talk | contribs)
m Final revision with necessary corrections
Change background color to design-token.
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
| above        = {{#if: {{{name|}}}
| above        = {{#if: {{{name|}}}
                   | {{#ifexist: User:{{{user page name|}}}
                   | {{#ifexist: User:{{{user page name|}}}
                     | [[User:{{{user page name}}}|<span {{#ifeq: {{lc: {{{role}}} }}| officer | style="color: #FFD200;"}}>{{{name}}}</span>]]
                     | [[User:{{{user page name}}}|{{{name}}}]]
                     | {{{name}}}
                     | {{{name}}}
                     }}
                     }}
                   | Coordinator name?
                   | Coordinator name?
                 }}
                 }}
| abovestyle  = {{#switch: {{lc: {{{role|}}} }}
| abovestyle  = background-color: var(--background-color-warning-subtle); <!--{{#switch: {{lc: {{{role|}}} }}
                   | coordinator = background: #172489;
                   | manager  = background-color: green;  
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                              color: lightgrey;
                  | manager = background: green;  
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
Line 27: Line 19:
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               color: lightgrey;
                               color: lightgrey;
                   | #default = background: #172489;
                   | #default = background-color: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
Line 35: Line 27:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: lightgrey;
                               color: lightgrey;
                 }}
                 }}-->


| image        = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}}|200px|{{{name|}}}]]
| image        = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}}|200px|{{{name|}}}]]


| headerstyle  = {{#switch: {{lc: {{{role|}}} }}
| headerstyle  = background-color: var(--background-color-warning-subtle); <!--{{#switch: {{lc: {{{role|}}} }}
                   | coordinator = background: #172489;
                   | manager  = background-color: green;  
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                              color: white;
                  | manager = background: green;  
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
Line 56: Line 40:
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               color: white;
                               color: white;
                   | #default = background: #172489;
                   | #default = background-color: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
Line 64: Line 48:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: white;
                               color: white;
                 }}
                 }}-->


| header1      = Details
| header1      = Details
Line 94: Line 78:
| data8        = {{{language|}}}
| data8        = {{{language|}}}


| belowstyle  = {{#switch: {{lc: {{{role|}}} }}
| belowstyle  = background-color: var(--background-color-warning-subtle); <!--{{#switch: {{lc: {{{role|}}} }}
                   | coordinator = background: #172489;
                   | manager = background-color: green;  
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                              color: white;
                  | manager = background: green;  
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
Line 111: Line 87:
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                               color: white;
                               color: white;
                   | #default = background: #172489;
                   | #default = background-color: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                               background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
Line 119: Line 95:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: white;
                               color: white;
                 }}
                 }}-->
 
| below        = {{#switch: {{lc: {{{role|}}} }}
| below        = {{#switch: {{lc: {{{role|}}} }}
                   | coordinator = Community Coordinator
                   | coordinator = Community Coordinator
                  | lead = Community Lead
                   | manager = Community Manager
                   | manager = Community Manager
                   | #default = Role: Unknown
                   | #default = Role: Unknown