Difference between revisions of "User:Dennis/toolbox"
From Gunsopedia
m (→Dynamic article list) |
|||
Line 1: | Line 1: | ||
{{User:Dennis/header}} | {{User:Dennis/header}} | ||
− | For all that crap that keeps slipping my mind somehow. This wiki has {{PAGESINNAMESPACE:14}} categories so far. | + | {{TOC right}}For all that crap that keeps slipping my mind somehow. This wiki has {{PAGESINNAMESPACE:14}} categories so far. |
* hanging indent: div style="padding-left: 4em; text-indent: -3em" | * hanging indent: div style="padding-left: 4em; text-indent: -3em" | ||
Line 8: | Line 8: | ||
== to do == | == to do == | ||
* Change scripts - /opt/php53/bin/php is no longer valid path. | * Change scripts - /opt/php53/bin/php is no longer valid path. | ||
+ | |||
+ | == syntax == | ||
+ | ;IF | ||
+ | <pre>{{#if: string | ValueIfTrue | ValueIfFalse }}</pre> | ||
== tables == | == tables == |
Revision as of 11:59, 21 June 2015
Dennis | To Do | Sandbox | Drafts | Log | Toolbox |
|
- 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
to do
- Change scripts - /opt/php53/bin/php is no longer valid path.
syntax
- IF
{{#if: string | ValueIfTrue | ValueIfFalse }}
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 |
Extension project page is here.
<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 .