Template:Problems: Difference between revisions
Jump to navigation
Jump to search
(Kinda works, but the output is duplicated. Let's try with loops instead) |
(Okay, apparently it's working. Be verbose, for debugging. Do the queries on fixed issues too, might be useful in future) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#vardefineecho:tl_problems_list|{{{1}}}}}{{#vardefine:tl_problems_list_active|{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.(?!\<s\>).*?(?!\<\/s\>).\=\=\=/|¯}}}}{{#vardefine:tl_problems_list_fixed|{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.\<s\>.*?\<\/s\>.\=\=\=/|¯}}}}{{# | <includeonly>{{#if:{{{1|}}}|{{#vardefineecho:tl_problems_list|{{{1}}}}}{{#vardefine:tl_problems_list_active|{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.(?!\<s\>).*?(?!\<\/s\>).\=\=\=/|¯}}}}{{#vardefine:tl_problems_active_count|{{#len:{{#regexall:{{#var:tl_problems_list_active}}|(¯)|}}}}}}{{#vardefine:tl_problems_list_fixed|{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.\<s\>.*?\<\/s\>.\=\=\=/|¯}}}}{{#vardefine:tl_problems_fixed_count|{{#len:{{#regexall:{{#var:tl_problems_list_fixed}}|(¯)|}}}}}}{{#if:{{#var:tl_problems_list_active}}|[[:Category:Pages with active problems]] | ||
{{#loop:tl_problems_i|0| | {{#loop:tl_problems_i|0|{{#var:tl_problems_active_count}}| | ||
{{#if:{{#regexall:{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.(?!\<s\>).*?(?!\<\/s\>).\=\=\=([\s\S]*?(?=\n\={{!}}$))/||{{#var:tl_problems_i}}|1}}|/\x5Bhttps\:\/\/dolp\.in\/i.*\x5D/}}|true | {{#if:{{#regexall:{{#regexall:{{#var:tl_problems_list}}|/\=\=\=.(?!\<s\>).*?(?!\<\/s\>).\=\=\=([\s\S]*?(?=\n\={{!}}$))/||{{#var:tl_problems_i}}|1}}|/\x5Bhttps\:\/\/dolp\.in\/i.*\x5D/}}|{{#vardefine:tl_problems_active_missing_issue|true}}}} | ||
}} | |||
}}{{#if:{{#var:tl_problems_list_fixed}}| | }}{{#if:{{#var:tl_problems_list_fixed}}|[[:Category:Pages with fixed problems]]}}{{#if:{{#var:tl_problems_list_active}}{{#var:tl_problems_list_fixed}}||[[:Category:Pages with misformatted problems]]}}{{#if:{{#var:tl_problems_active_missing_issue}}|[[:Category:Pages with active problems missing issue links]]}}|There are no known problems with this {{#if:{{{type|}}}|{{{type|}}}|title}}.}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 06:09, 23 November 2016
[edit] [ ] Template documentation
Add common problem text to pages /wo problems, and add appropriate Category:Pages with active problems or Category:Pages with fixed problems to those that do.
Usage
{{Problems|{{#vardefineecho:problems| === Problem === Problem text. Refer {{issue|<Issue ID>}}. {{Problems/Problem Sub-template Name}} === <s>Fixed Problem</s> === Problem text. Fixed in {{revision|<revision ID>}}. }}}}
Example
{{#if:|There are no known problems with this title.
Sub-Templates
Problem sub-templates add common Problem, Emulation Information, or Enhancements subsections to pages.
- Analog Stick Range
- Arcade Sega Right Tiles
- Bloom Offset at Higher IR
- Blurry Distant Textures
- Controller Map Overlap
- Drawsome Required
- DS Connection
- Emulated Wii Remote Position Toggle
- Emulation Stop Hang
- Error 109144
- Famicom Microphone Support
- GC Font
- GC Widescreen 16-9
- GC Widescreen Auto
- Interlaced Output
- Just Dance Corrupt Dancers
- Just Dance Dancer Card Hang
- Just Dance Online Features
- Just Dance Random Freeze
- Just Dance Texture Filtering
- Language Region Mismatch
- Missing banner
- Missing USB Storage Support
- MVP Baseball 2D Sprites
- No Controller Pak saving
- No controller rumble
- No Space Left
- No Super NES Mouse Support
- No Transfer Pak Support
- Portal of Power
- Rock Band Instruments Required
- SD Adapter
- Shader Compilation Stuttering
- Shutdown
- SNES Stretched Output
- Tile Edges
- uDraw Required
- VP6 Videos
- Wii Balance Board
- Wii Balance Board Required
- WiiConnect24
- Wii GC Controller Conflict
- Wii MotionPlus Required
- Wii Network Certificates Required
- Wii Remote Pointer Hiding
The above documentation is transcluded from Template:Problems/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |