User:Dennis/toolbox

From Gunsopedia
Jump to: navigation, search
 Dennis To Do Sandbox Drafts Log Toolbox 

Contents

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

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...
for making hornady tables easier
{| class="wikitable"
|+ [[Hornady]] munitions fired from a 24" [[barrel]]<ref name="hornady">Data taken from tables published by Hornady, 2/5/2015.</ref>
|- 
! rowspan="2"|Bullet !!colspan=6| [[Velocity]] in fps. !!colspan=6| Energy in ft·lbs. !!colspan=6| [[Trajectory]] Tables in inches
|-
! Muzzle !! 100 yd !! 200 yd !! 300 yd !! 400 yd !! 500 yd !! Muzzle !! 100 yd !! 200 yd !! 300 yd !! 400 yd !! 500 yd !! Muzzle !! 100 yd !! 200 yd !! 300 yd !! 400 yd !! 500 yd
|-
copypasta
|}

and

{| class="wikitable"
|+ [[Hornady]] munitions fired from a 24" [[barrel]]<ref name="hornady"/>
|-
! rowspan="2" | Bullet !! rowspan="2" | B.C. !! colspan="7" | Velocity in m/sec. !! colspan="7" | Energy in joules
|-
! Muzzle || 50m || 100m || 150m || 200m || 250m || 300m || Muzzle || 50m || 100m || 150m || 200m || 250m || 300m
|-
copypasta
|-
! rowspan="2" | Bullet || colspan="7" | Trajectory (cm) || rowspan="2" | GEE || colspan="7" | GEE Trajectory 
|-
! Muzzle || 50m || 100m || 150m || 200m || 250m || 300m || Muzzle || 50m || 100m || 150m || 200m || 250m || 300m
|-
copypasta
|}

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 .
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox