Difference between revisions of "User:Dennis/toolbox"

From Gunsopedia
Jump to: navigation, search
(colours)
(Dynamic article list)
Line 40: Line 40:
 
  | Name of category where (including its children) all articles reside
 
  | Name of category where (including its children) all articles reside
 
  |}
 
  |}
 +
<pre>
 +
<DynamicArticleList>
 +
  title=
 +
  type=
 +
  count=
 +
</DynamicArticleList>
 +
</pre>
 
* If "categoryRoot" is set, ''Dynamic Article List'' will only retrieve articles in this category and its children. If not, all articles will be candidates.
 
* If "categoryRoot" is set, ''Dynamic Article List'' will only retrieve articles in this category and its children. If not, all articles will be candidates.
 
* The value of parameter "type" could be one of the following (default is ''' ''new'' '''):
 
* The value of parameter "type" could be one of the following (default is ''' ''new'' '''):

Revision as of 15:46, 10 June 2015

 Dennis To Do Sandbox Drafts Log Toolbox 

For all that crap that keeps slipping my mind somehow. This wiki has 231 categories so far.

  • hanging indent: div style="padding-left: 4em; text-indent: -3em"
  • 256-IP ban hammer example: 173.208.25.0/24
  • 65,536-IP ban hammer looks like: 69.208.0.0/16

Contents

to do

  • Change scripts - /opt/php53/bin/php is no longer valid path.

tables

  • it's "toccolours" not TOCcolours, TOC_Colors, or any of that other shit...
  • style="margin: auto auto auto auto;" top right bottom left, in em, not px
  • style="border-left: 5px solid red;" for example
  • style="font-size:200%" seems like it always has to be in percent for some reason...

colours

#9BCD9B for standard headers
#F0FFF0 for standard backgrounds

Dynamic article list

Tag Name DynamicArticleList
Parameters title (optional) Title of the output article list
type (optional) Type of dynamic article list (new/update/discussion/hot)
count (optional) Output count of articles
categoryRoot (optional) Name of category where (including its children) all articles reside
<DynamicArticleList>
  title=
  type=
  count=
</DynamicArticleList>
  • If "categoryRoot" is set, Dynamic Article List will only retrieve articles in this category and its children. If not, all articles will be candidates.
  • The value of parameter "type" could be one of the following (default is new ):
    • new => Newly Posted Articles
    • update => Recently Updated Articles
    • discussion => Recent Discussions
    • hot => Most Popular Articles
  • The default value of "count" is 5 .
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox