Jump to content

Template:Abox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
| data1      = {{{summary|}}}
| data1      = {{{summary|}}}
| label2    = [[Image:IntendedFor.jpg|40px]]
| label2    = [[Image:IntendedFor.jpg|40px]]
| data2    = ''Intended for''<br>{{#if: {{{for_employees|}}} | Employees | }} {{#if: {{{for_students|}}} | Students | }} {{#if: {{{for_parents|}}} | Parents | }}
| data2    = ''Intended for''<br>{{#if: {{{for_employees|}}} |
  {{#if: {{{for_students|}}} | /*E, S*/
    {{#if: {{{for_parents|}}} | Employees, Students and Parents | Employees and Students}}    | /*E, S, P?*/
    {{#if: {{{for_parents|}}} | Employees and Parents          | Employees             }}    | /*E,!S, P?*/
  }}
  {{#if: {{{for_students|}}} | /*!E, S*/
    {{#if: {{{for_parents|}}} | Students and Parents            | Students              }}   | /*!E, S, P?*/
    {{#if: {{{for_parents|}}} | Parents                         | Nobody!              }}    | /*!E,!S, P?*/
  }}
}}
| label3    = [[Image:Categories.png|40px]]
| label3    = [[Image:Categories.png|40px]]
| data3    = ''Categorized under''<br>{{#if: {{{cat1|}}} | [[:Category:{{{cat1|}}}|{{{cat1|}}}]] [[Category:{{{cat1|}}}]] | }} {{#if: {{{cat2|}}} | and [[:Category:{{{cat2|}}}|{{{cat2|}}}]] [[Category:{{{cat2|}}}]] | }}  
| data3    = ''Categorized under''<br>{{#if: {{{cat1|}}} | [[:Category:{{{cat1|}}}|{{{cat1|}}}]] [[Category:{{{cat1|}}}]] | }} {{#if: {{{cat2|}}} | and [[:Category:{{{cat2|}}}|{{{cat2|}}}]] [[Category:{{{cat2|}}}]] | }}