MediaWiki:Group-sysop.js
Revision as of 13:44, 9 February 2017 by Kbjarkefur (talk | contribs) (Created page with "→Any JavaScript here will be loaded for sysops only: function dispTopics_lc(topicArray) { var topicTable = '<div class="table-div"><table style="width:100%">'; ...")
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for sysops only */
function dispTopics_lc(topicArray)
{
var topicTable = '<div class="table-div"><table style="width:100%">';
topicTable += '<col width=20%><col width=80%><tr>';
topicTable += '<td rowspan="2">'+ topicArray[0] +'</td>';
topicTable += '<td class="td_lc_titl">'+ topicArray[1] +'</td>';
topicTable += '</tr><tr>';
topicTable += '<td class="td_lc_desc">'+ topicArray[2] +'</td>';
topicTable += '</tr></table></div>';
return topicTable;
}
function dispTopics_sa(topic)
{
var topicTable = '<div class="table-div"><table style="width:100%">';
topicTable += '<tr><td class="td_sa">'+ topic +'</td></tr>';
topicTable += '</table></div>';
return topicTable;
}