Difference between revisions of "User:Dennis/toolbox"
From Gunsopedia
(→tables) |
|||
Line 18: | Line 18: | ||
* '''style="border-left: 5px solid red;"''' for example | * '''style="border-left: 5px solid red;"''' for example | ||
* '''style="font-size:200%"''' seems like it always has to be in percent for some reason... | * '''style="font-size:200%"''' seems like it always has to be in percent for some reason... | ||
+ | |||
+ | ; for making hornady tables easier | ||
+ | <pre> | ||
+ | {| class="wikitable" | ||
+ | |+ [[Hornady]] munitions fired from a 24" [[barrel]] (2015) | ||
+ | |- | ||
+ | ! 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 | ||
+ | |}</pre> | ||
+ | and | ||
+ | <pre> | ||
+ | {| class="wikitable" | ||
+ | |+ [[Hornady]] munitions fired from a 24" [[barrel]] (2015) | ||
+ | |- | ||
+ | ! 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 | ||
+ | |}</pre> | ||
== colours == | == colours == |
Revision as of 13:48, 18 July 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...
- for making hornady tables easier
{| class="wikitable" |+ [[Hornady]] munitions fired from a 24" [[barrel]] (2015) |- ! 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]] (2015) |- ! 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 .