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)
Reworked template with necessary additional fields and addons.
Muhib (talk | contribs)
m Final revision with necessary corrections
Line 1: Line 1:
{{#css:
  .mw-collapsible span.mw-collapsible-toggle {
    float: left;
    padding-left: auto;
  }
}}
{{Infobox
{{Infobox
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
| bodystyle    = width: 26em;
| bodystyle    = width: 26em;
 
| title        = <!-- Name goes here -->
| title       = {{{title|}}}
| above       = {{#if: {{{name|}}}
 
                  | {{#ifexist: User:{{{user page name|}}}
| above        = [[Userpage Link|{{#switch: {{{title|}}}
                    | [[User:{{{user page name}}}|<span {{#ifeq: {{lc: {{{role}}} }}| officer | style="color: #FFD200;"}}>{{{name}}}</span>]]
                    | coordinator = Community Coordinator
                    | {{{name}}}
                    | manager = Community Manager
                    }}
                    |
                  | Coordinator name?
                    | Coordinator name? <!-- Default text if title is empty -->
                }}
                }}]]
| abovestyle  = {{#switch: {{lc: {{{role|}}} }}
| abovestyle  = {{#switch: {{lc: {{{title|}}} }}
                  | coordinator = background: #172489;
                              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: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                              color: lightgrey;
                   | #default = background: #172489;
                   | #default = background: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
Line 27: Line 35:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: lightgrey;
                               color: lightgrey;
                  | coordinator = background: #172489;
                }}
                                  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: #0000FF;
                              background-image: -moz-linear-gradient(center top, #0000FF 0%, #1E90FF 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#0000FF), color-stop(100%,#1E90FF));
                              background-image: -webkit-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -o-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -ms-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: linear-gradient(to bottom, #0000FF 0%, #1E90FF 100%);
                              color: lightgrey;
                }}


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


| headerstyle  = {{#switch: {{lc: {{{title|}}} }}
| headerstyle  = {{#switch: {{lc: {{{role|}}} }}
                  | coordinator = background: #172489;
                              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: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                              color: white;
                   | #default = background: #172489;
                   | #default = background: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
Line 56: Line 64:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: white;
                               color: white;
                  | coordinator = background: #172489;
                }}
                                  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: #0000FF;
                              background-image: -moz-linear-gradient(center top, #0000FF 0%, #1E90FF 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#0000FF), color-stop(100%,#1E90FF));
                              background-image: -webkit-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -o-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -ms-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: linear-gradient(to bottom, #0000FF 0%, #1E90FF 100%);
                              color: white;
                }}


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


| belowstyle  = {{#switch: {{lc: {{{title|}}} }}
| belowstyle  = {{#switch: {{lc: {{{role|}}} }}
                  | coordinator = background: #172489;
                              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: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                              color: white;
                   | #default = background: #172489;
                   | #default = background: #172489;
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                               background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
Line 111: Line 119:
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                               color: white;
                               color: white;
                  | coordinator = background: #172489;
                }}
                                  background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
| below        = {{#switch: {{lc: {{{role|}}} }}
                                  background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                  | coordinator = Community Coordinator
                                  background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
                  | manager = Community Manager
                                  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: #0000FF;
                              background-image: -moz-linear-gradient(center top, #0000FF 0%, #1E90FF 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#0000FF), color-stop(100%,#1E90FF));
                              background-image: -webkit-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -o-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: -ms-linear-gradient(top, #0000FF 0%, #1E90FF 100%);
                              background-image: linear-gradient(to bottom, #0000FF 0%, #1E90FF 100%);
                              color: white;
                }}
 
| below        = {{#switch: {{lc: {{{title|}}} }}
                   | #default = Role: Unknown
                   | #default = Role: Unknown
                  | coordinator = Role: Community Coordinator
                }}
                  | manager = Role: Community Manager
                }}


}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>