Note: Please mark edits here as minor to avoid clogging edit feeds!
This page is for testing edits before saving them on a real page.
Collapsible Table[]
Simple Table[]
1 | 2 | Text | 3 |
---|---|---|---|
1a | 2b | !@#$%^ | 3c |
THIS- | IS- | A- | TABLE. |
Hello | there. SPAAAAAAAAAAAAAAAAAM! |
Gallery[]
[]
Has a visual difference on the mobile version of the site. Images are cropped to square and the captions are on top of the images. The normal gallery is simply better.
Section Links[]
Interwiki Links[]
Interwiki links let you create links to other wikis without worrying about their URL formats changing: Community:Help:Interwiki link.
Linking External Wikis[]
Non-Fandom wikis can be linked using the MediaWiki interwiki syntax. This example uses the 'Wikipedia' keyword, but there is a shorthand of 'WP'. You can see the default MediaWiki keywords here: MediaWiki:Interwiki map.
[[Wikipedia:Help:Wikitext]]
- Wikipedia:Help:Wikitext
Fandom Community[]
The Community wiki can be linked by using the 'Wikia' keyword, or it's shorthand 'W'. The keywords are non-case sensitive. Due to the Fandom interwiki syntax (explained below), I, Valafi, recommend using the full word for clarity.
[[Wikia:Help:Templates]]
- Wikia:Help:Templates
Linking Fandom Wikis[]
Fandom wikis can be linked using the Fandom interwiki syntax. The 'w' is case sensitive; make sure it's lowercase, otherwise it will be interpreted with the MediaWiki interwiki syntax. I, Valafi, believe the 'w:c:' part stands for 'Wikia community'.
[[w:c:templates:Category:Browse]]
- w:c:templates:Category:Browse
Formatting Links[]
You can clear the left-most part of the name (usually a namespace like 'User:', but in this case 'w:') by using a pipe followed by nothing (not even a space).
[[w:c:templates:Category:Browse|]]
- c:templates:Category:Browse
You can also use the pipe to rename the links. This is why you can't put a space after the pipe.
[[w:c:templates:Category:Browse|Templates:Category:Browse]]
- Templates:Category:Browse
Illegal CSS[]
CSS which is determined to be dangerous will cause the style attribute to be replaced with style="/* insecure input */"
after saving changes (the CSS will work fine when using 'Preview').
'var' function[]
background-color: var(--theme-page-background-color--secondary);
- Text with broken CSS.
background-color: rgb(60, 66, 75);
- Text with working CSS.
Custom Syntax Highlighting[]
Syntax highlighting for Quake 3 Arena formats is available via the Template:Quake template, which calls the Module:Quake module.
Source:
{{Quake| //Siege team definition file. name "doom_Remnant" ClassesAllowed 7 TimePeriod 10 EUAllowed 1 Classes { class1 "doom_Stormtrooper" class2 "doom_StOfficer" class3 "doom_Officer" class4 "doom_Reborn" class5 "doom_Galak" class6 "doom_Shadowtrooper" } SubclassesForClass4 { Subclass1 "doom_RebornForce" } }}
Result:
//Siege team definition file. name "doom_Remnant" ClassesAllowed 7 TimePeriod 10 EUAllowed 1 Classes { class1 "doom_Stormtrooper" class2 "doom_StOfficer" class3 "doom_Officer" class4 "doom_Reborn" class5 "doom_Galak" class6 "doom_Shadowtrooper" } SubclassesForClass4 { Subclass1 "doom_RebornForce" }
Temporary Tests[]
These should be deleted after a reasonable period of time.
Pre Hack[]
<span style="color: green;">gfx/automap/mb2_example</span> { nopicmip { clampmap gfx/automap/mb2_example blendfunc blend alphaGen vertex depthfunc equal } <span style="color: green;">}</span>
gfx/automap/mb2_example { nopicmip { clampmap gfx/automap/mb2_example blendfunc blend alphaGen vertex depthfunc equal } }
Pre Indent[]
- Line up here.
(install directory) --base ----game asset files --MBII ----mod asset files
- Line up here.
(install directory) --base ----game asset files --MBII ----mod asset files
- Line up here.
(install directory) --base ----game asset files --MBII ----mod asset files
New Syntax Highlighting[]
gfx/automap/mb2_example //Shader name { nopicmip { clampmap gfx/automap/mb2_example blendfunc blend alphaGen vertex depthfunc equal } }