Template:Abox: Difference between revisions

From howdoi
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|}}}]] | }}  

Revision as of 10:48, 3 March 2017

This article is...
File:IntendedFor.jpgIntended for
Categories.pngCategorized under
File:UnknownUser.jpgMaintained by
default nobody :(
File:Outofdate.pngneeds to be updated for the current school year.
Template documentation[view] [edit] [history] [purge]

Usage

{{abox
 | name          = {{subst:PAGENAME}}
 | summary       = 
 | for_employees = 
 | for_students  = 
 | for_parents   = 
 | cat1          = RCS software and services
 | cat2          =
 | maintained    = 
 | year          = 2021-2022}}

Required parameters

summary
short 1-2 sentence summary of article
for_employees
any text means the article is meant for employees
for_students
any text means the article is meant for students
for_parents
any text means the article is meant for parents
cat1
Name of category (without surrounding wikitext ex: Calendars and Scheduling)
maintained
JK, RS, KS, DIS, MR, PS, JM, VV, SC
year
four digit year-four digit year (i.e. 2021-2022)

Optional parameters

cat2
Name of category (without surrounding wikitext ex: Calendars and Scheduling)