Archive:Template:Staff and contractors: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
MZMcBride (talk | contribs)
blergh
find me on irc?
Line 1: Line 1:
<html>
<html><style>h2 { border-bottom: 2px dotted #bbbdbf; margin-bottom: 30px !important; }</style></html>
<style>
div.expand {
background:url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 0% center;
padding-left: 15px;
margin: 1em 0;
}
div.expand a,
div.expand a:hover {
color: #5E5E5E;
outline: 0;
}
/* Control the "expand all" link */
p.switch a,
p.switch a:hover,
p.switch a:active {
float: right;
color: #231F20;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 0% center;
padding-left: 15px;
}
h2 {
border-bottom: 2px dotted #BBBDBF;
}
</style>
<script src="//wikimediafoundation.org/w/index.php?title=MediaWiki:Expand.js&action=raw&ctype=text/javascript&version=2"></script>
<script>
mw.loader.using(['mediawiki.util', 'mediawiki.Uri'], function () {

jQuery(function ($) {
$('#expand-wrapper div.expand').toggler({
speed : 'fast',
hoverTxt : 'Expand or collapse'
});
$('#expand-wrapper').expandAll({
expTxt : 'Expand all departments',
cllpsTxt : 'Collapse all departments',
trigger: 'div.expand',
ref: 'span#expand-all',
showMethod: 'slideDown',
hideMethod: 'slideUp',
speed: 'fast',
state: mw.util.getParamValue('showall') ? 'shown' : 'hidden',
initTxt: mw.util.getParamValue('showall') ? 'hide' : 'show',
hoverTxt : 'Expand all or collapse all'
});
var $togglers = $('#expand-wrapper').find('.collapse').findSibling().find('> a');
$togglers
.add( $('span#expand-all')[$.fn.expandAll.defaults.switchPosition === 'before' ? 'prev' : 'next']().find('a').data('expand-all', true) )
.click(function () {
var $src, u;
$src = $(this).data('expand-all') ? $togglers.first() : $(this);
// Don't use && since MediaWiki's <html> tag handler escapes it as &amp;
if (window.history) if (window.history.replaceState) {
u = new mw.Uri(window.location.href);
if ($src.data('state')) {
u.query.showall = 1;
} else if (u.query.hasOwnProperty('showall')) {
delete u.query.showall;
}
window.history.replaceState({}, document.title, u.toString());
}
});
});
});
</script>
</html>


<div style="width:90%; text-align:left; margin:auto;">
<div style="width:90%; text-align:left; margin:auto;">
{{#ifeq:{{{showall}}}|yes||<div id="expand-wrapper">}}
{{#ifeq:{{{showall}}}|yes||<div id="expand-wrapper">}}
<br/><span id="expand-all"></span>
{{clear}}
{{clear}}
{{hide|1={{TOC right}}}}
{{hide|1={{TOC right}}}}

Revision as of 05:04, 2 April 2014

<html> <style> div.expand {

 background:url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 0% center;
 padding-left: 15px;
 margin: 1em 0;

} div.expand a, div.expand a:hover {

 color: #5E5E5E;
 outline: 0;

} /* Control the "expand all" link */ p.switch a, p.switch a:hover, p.switch a:active {

 float: right;
 color: #231F20;
 background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 0% center;
 padding-left: 15px;

} h2 {

 border-bottom: 2px dotted #BBBDBF;

} </style> <script src="//wikimediafoundation.org/w/index.php?title=MediaWiki:Expand.js&action=raw&ctype=text/javascript&version=2"></script> <script> mw.loader.using(['mediawiki.util', 'mediawiki.Uri'], function () {

jQuery(function ($) {

   $('#expand-wrapper div.expand').toggler({
     speed : 'fast',
     hoverTxt : 'Expand or collapse'
   });
   $('#expand-wrapper').expandAll({
     expTxt : 'Expand all departments',
     cllpsTxt : 'Collapse all departments',
     trigger: 'div.expand',
     ref: 'span#expand-all',
     showMethod: 'slideDown',
     hideMethod: 'slideUp',
     speed: 'fast',
     state: mw.util.getParamValue('showall') ? 'shown' : 'hidden',
     initTxt: mw.util.getParamValue('showall') ? 'hide' : 'show',
     hoverTxt : 'Expand all or collapse all'
   });
   var $togglers = $('#expand-wrapper').find('.collapse').findSibling().find('> a');
   $togglers
   .add( $('span#expand-all')[$.fn.expandAll.defaults.switchPosition === 'before' ? 'prev' : 'next']().find('a').data('expand-all', true) )
   .click(function () {
       var $src, u;
       $src = $(this).data('expand-all') ? $togglers.first() : $(this);
       // Don't use && since MediaWiki's <html> tag handler escapes it as &
       if (window.history) if (window.history.replaceState) {
           u = new mw.Uri(window.location.href);
           if ($src.data('state')) {
               u.query.showall = 1;
           } else if (u.query.hasOwnProperty('showall')) {
               delete u.query.showall;
           }
           window.history.replaceState({}, document.title, u.toString());
       }
   });

}); }); </script> </html>


Template:Hide

Office of the Executive Director

Template:Department

Engineering and Product Development

Template:Department

Grantmaking

Template:Department

Fundraising

Template:Department

Legal and Community Advocacy

Template:Department

Finance and Administration

Template:Department

Human Resources

Template:Department