Template:Abox: Difference between revisions

From howdoi
No edit summary
No edit summary
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass  = vevent
| bodyclass  =
| titleclass  = summary
| bodystyle = float:right;border:1px solid black
| above       =  this article is...
| titleclass  =
| label1      = [[Image:Summary.jpg|40px]]
| title       =  This article is...
| label1      = [[Image:Summary.png|40px]]
| data1      = {{{summary|}}}
| data1      = {{{summary|}}}
| label2    = [[Image:IntendedFor.jpg|40px]]
| label2    = {{#if: {{{for_employees|}}} |  <!-- E, S?, P? -->
| data2    = Intended for<br>{{{for_employees|}}},{{{for_students|}}},{{{for_parents|}}}
  {{#if: {{{for_students|}}} | <!-- E, S,  P? -->
| label3    = [[Image:test.jpg|40px]]
    {{#if: {{{for_parents|}}} | [[Image:IntendedESP.png|40px]] | [[Image:IntendedES.png|40px]] }} | <!-- E, S, P?-->
| data3    = Categorized under
    {{#if: {{{for_parents|}}} | [[Image:IntendedEP.png|40px]]  | [[Image:IntendedE.png|40px]]  }}  <!-- E,!S, P?-->
| label4    = [[Image:{{{maintained|}}}.jpg|40px]]
  }} |
| data4     = Maintained by {{#switch: {{{maintained|}}}  
  {{#if: {{{for_students|}}} | <!-- !E, S-->
| JK = Jonathan King
    {{#if: {{{for_parents|}}} | [[Image:IntendedSP.png|40px]] | [[Image:IntendedS.png|40px]]   }} | <!-- !E, S, P?-->
| SDC = Sean Dagony-Clark
     {{#if: {{{for_parents|}}} | [[Image:IntendedP.png|40px]] | [[Image:IntendedN.png|40px]]  }}   <!-- !E,!S, P?-->
  | default nobody :( }}
  }}
| label5    =
| data5    =
}}
}}
| data2    = ''Intended for''<br>{{#if: {{{for_employees|}}} |  <!-- E, S?, P? -->
  {{#if: {{{for_students|}}} | <!-- E, S,  P? -->
    {{#if: {{{for_parents|}}} | [[:Category:Employees|Employees]], [[:Category:Students|Students]] and [[:Category:Parents|Parents]] | [[:Category:Employees|Employees]] and [[:Category:Students|Students]]}} | <!-- E, S, P?-->
    {{#if: {{{for_parents|}}} | [[:Category:Employees|Employees]] and [[:Category:Parents|Parents]]          | [[:Category:Employees|Employees]]            }}  <!-- E,!S, P?-->
  }} |
  {{#if: {{{for_students|}}} | <!-- !E, S-->
    {{#if: {{{for_parents|}}} | [[:Category:Students|Students]] and [[:Category:Parents|Parents]]            | [[:Category:Students|Students]]              }} | <!-- !E, S, P?-->
    {{#if: {{{for_parents|}}} | [[:Category:Parents|Parents]]                        | Nobody!              }}  <!-- !E,!S, P?-->
  }}
}}
| label3    = [[Image:Categories.png|40px]]
| data3    = ''Categorized under''<br>{{#if: {{{cat1|}}} | [[:Category:{{{cat1|}}}|{{{cat1|}}}]] [[Category:{{{cat1|}}}]] | }} {{#if: {{{cat2|}}} | and [[:Category:{{{cat2|}}}|{{{cat2|}}}]] [[Category:{{{cat2|}}}]] | }}
| label4    = [[Image:{{{maintained|unknownUser}}}.jpg|40px]]
| data4    = ''Maintained by''<br>{{#switch: {{{maintained|}}}
| JK  = [[User:Jking|Jonathan King]] [[Category:maintained by Jonathan King]]
| SDC = [[User:Sdc|Sean Dagony-Clark]] [[Category:maintained by Sean Dagony-Clark]]
| RS  = [[User:Rshin|Rob Shin]] [[Category:maintained by Rob Shin]]
| JG  = [[User:Jgomez|Jeffrey Gomez]] [[Category:maintained by Jeffrey Gomez]]
| KS  =  [[User:Kseidler|Kent Seidler]] [[Category:maintained by Kent Seidler]]
| DJS  =  [[User:Dsemper|David Semper]] [[Category:maintained by David Semper]]
| DIS  = [[User:Dsmith|Derek Smith]] [[Category:maintained by Derek Smith]]
| MR  = [[User:Mringh|Matt Ringh]] [[Category:maintained by Matt Ringh]]
| PD  = [[User:Pdugan|Phyllis Dugan]] [[Category:maintained by Phyllis Dugan]]
| JM  = [[User:Jmartinez|Jeremy Martinez]] [[Category:maintained by Jeremy Martinez]]
| VI  = [[User:Vizquierdo|Vanessa Izquierdo]] [[Category:maintained by Vanessa Izquierdo]]
| RB  = [[User:Rbeane|Rachel Beane]] [[Category:maintained by Rachel Beane]]
| nobody :( }}
| label5    = [[Image:{{{year|outofdate}}}.png|40px]]
| data5    = {{#ifeq: {{{year|}}} | 2019-2020 | Up-to-date for the 2019-2020 school year. | in need of review.}}
}}
{{#if: {{{for_employees|}}} | [[Category:Employees]] | }}
{{#if: {{{for_students|}}} | [[Category:Students]] | }}
{{#if: {{{for_parents|}}} | [[Category:Parents]] | }}
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
</noinclude>

Revision as of 22:55, 25 July 2019

This article is...
IntendedN.pngIntended for
Nobody!
Categories.pngCategorized under
File:UnknownUser.jpgMaintained by
nobody :(
File:Outofdate.pngin need of review.



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)