From InsideOutOld.DigiPen.edu
Revision as of 18:21, 22 June 2007 (edit) Rfulcher (Talk | contribs) (collapsible without menus) ← Previous diff |
Current revision (18:12, 3 October 2012) (edit) (undo) Rfulcher (Talk | contribs) (TODO, retire this) |
||
(21 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
<includeonly><div style="clear:right; float: right; border: solid #66EEAA 1px; margin: 1px"> | <includeonly><div style="clear:right; float: right; border: solid #66EEAA 1px; margin: 1px"> | ||
- | {| {{ #ifeq: {{{baronly| }}} | | class="collapsible" | class="collapsible collapsed" }} cellspacing="0" cellpadding="0" style="width: | + | {| {{ #ifeq: {{{baronly| }}} | | class="collapsible" | class="collapsible collapsed" }} cellspacing="0" cellpadding="0" style="width: 260px; background: #CCFFDD" |
! style="background: #66EEAA; text-align: left;" | <font style="font-size: 14pt;">[[Image:{{{Icon|Help-browser.png}}}|32px]] '''[[IT Support|IT Support]]'''</font> | ! style="background: #66EEAA; text-align: left;" | <font style="font-size: 14pt;">[[Image:{{{Icon|Help-browser.png}}}|32px]] '''[[IT Support|IT Support]]'''</font> | ||
|- | |- | ||
- | | style="font-size: 8pt; | | + | || |
- | {{ #ifeq: {{{ | + | {| class="collapsible" cellspacing="0" cellpadding="0" style="width: 260px; background: #CCFFDD" |
- | + | ! style="font-size: 9pt; text-align: left;" | '''[[:Category:Current Issues|Cat:Current Issues]]''' | |
- | + | |- | |
- | + | | style="font-size: 8pt;" | | |
- | -->{{ #ifeq: {{{nocat| }}} | | [[Category:IT Support]] | }} | + | <DPL> |
- | |}</div></includeonly><noinclude> | + | category = Current Issues |
+ | notnamespace = Template | ||
+ | notcategory = Deprecated Documents | ||
+ | nottitlematch= IT Support|Support | ||
+ | addpagesize = true | ||
+ | shownamespace = false | ||
+ | </DPL> | ||
+ | |} | ||
+ | |- | ||
+ | || | ||
+ | {| {{ #ifeq: {{{expand| }}} | | class="collapsible collapsed" | class="collapsible" }} cellspacing="0" cellpadding="0" style="width: 260px; background: #CCFFDD" | ||
+ | ! style="font-size: 9pt; text-align: left;" | '''[[:Category:IT Support|Cat:IT Support]]''' | ||
+ | |- | ||
+ | | style="font-size: 8pt;" | | ||
+ | <DPL> | ||
+ | category = IT Support | ||
+ | notnamespace = Template | ||
+ | notcategory = Deprecated Documents | ||
+ | notcategory = IT Readme | ||
+ | notcategory = Web Support | ||
+ | nottitlematch= IT Support|Support | ||
+ | addpagesize = true | ||
+ | shownamespace = false | ||
+ | </DPL> | ||
+ | |} | ||
+ | |- | ||
+ | || | ||
+ | {| {{ #ifeq: {{{expand| }}} | | class="collapsible collapsed" | class="collapsible" }} cellspacing="0" cellpadding="0" style="width: 260px; background: #CCFFDD" | ||
+ | ! style="font-size: 9pt; text-align: left;" | '''[[:Category:IT Readme|Cat:IT Readme]]''' | ||
+ | |- | ||
+ | | style="font-size: 8pt;" | | ||
+ | <DPL> | ||
+ | category = IT Readme | ||
+ | notnamespace = Template | ||
+ | notcategory = Deprecated Documents | ||
+ | notcategory = Web Support | ||
+ | nottitlematch= IT Support|Support | ||
+ | addpagesize = true | ||
+ | shownamespace = false | ||
+ | </DPL> | ||
+ | |} | ||
+ | |- | ||
+ | | style="font-size: 8pt;" | | ||
+ | <div style="clear:right; float:right;">[{{SERVER}}{{localurl:Template:IT Support|action=edit}} edit]</div> | ||
+ | <!-- {{ #ifeq: {{{nocat| }}} | | [[Category:IT Support]] | }} --> | ||
+ | |}</div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Add this template to the top of all IT Support pages with: | Add this template to the top of all IT Support pages with: | ||
Line 20: | Line 65: | ||
:<nowiki>{{IT Support|baronly=1}}</nowiki> | :<nowiki>{{IT Support|baronly=1}}</nowiki> | ||
::Optionally you can set the default state to collapsed. | ::Optionally you can set the default state to collapsed. | ||
+ | :<nowiki>{{IT Support|expand=1}}</nowiki> | ||
+ | ::Optionally you can set the default state to fully expanded. | ||
+ | |||
== Examples == | == Examples == | ||
{| border=0 | {| border=0 | ||
- | | | + | | valign=top | |
- | + | {| border=0 | |
+ | | | ||
+ | <nowiki>{{IT Support}}</nowiki> | ||
+ | {{IT Support|nocat=1}} | ||
|- | |- | ||
- | | | + | | |
- | + | <nowiki>{{IT Support|Icon=Accessories-text-editor.png}}</nowiki> | |
+ | {{IT Support|Icon=Accessories-text-editor.png|nocat=1}} | ||
+ | |} | ||
+ | | valign=top | | ||
+ | <nowiki>{{IT Support|expand=1}}</nowiki> | ||
+ | {{IT Support|expand=1}} | ||
|} | |} | ||
[[Category:IT Support|*]] | [[Category:IT Support|*]] | ||
+ | {{TODO|This is an old template which was replaced with the ITFAQ and ITHD templates, cleanup this category and remove it.}} | ||
</noinclude> | </noinclude> |
Current revision
[edit] Usage
Add this template to the top of all IT Support pages with:
- {{IT Support}}
- This will include the page in the IT Support Category and display a link to the main IT Support page.
- {{IT Support|Icon=Some_Image.gif}}
- Optionally you can specify an alternate Icon to use.
- {{IT Support|nocat=1}}
- Optionally you can not include the page in the category, useful when called by the category itself.
- {{IT Support|baronly=1}}
- Optionally you can set the default state to collapsed.
- {{IT Support|expand=1}}
- Optionally you can set the default state to fully expanded.