Template:Problems: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:tl_problems_list|{{{1|}}}}}{{#var:tl_problems_list|There's no known problems with this {{#if:{{{type|}}}|{{{type|}}}|game}}.}}{{#if:{{#regexall:{{#var:tl_problems_list}}|(\n\=\=\=\s(?!\<s\>)[\s\S]*?(?!\<\/s\>)\s\=\=\=\n)||}}|[[:Category:Pages with active problems]]}}{{#if:{{#regexall:{{#var:tl_problems_list}}|(\n\=\=\=\s\<s\>[\s\S]*?\<\/s\>\s\=\=\=\n)||}}|[[:Category:Pages with fixed problems]]}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#vardefine:tl_problems_list|{{{1|}}}}}{{#var:tl_problems_list|There's no known problems with this {{#if:{{{type|}}}|{{{type|}}}|game}}.}}{{#if:{{#regexall:{{#var:tl_problems_list}}|(\n\=\=\=\s(?!\<s\>).*?(?!\<\/s\>)\s\=\=\=\n)||}}|[[:Category:Pages with active problems]]}}{{#if:{{#regexall:{{#var:tl_problems_list}}|(\n\=\=\=\s\<s\>.*?\<\/s\>\s\=\=\=\n)||}}|[[:Category:Pages with fixed problems]]}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 07:23, 19 November 2016

[edit] [purge] 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

There's no known problems with this game.

Sub-Templates

Problem sub-templates add common Problem, Emulation Information, or Enhancements subsections to pages.