More actions
Fixing up template documentation system |
Change background (color) to increase readability in light mode. |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{{ | ||
#ifeq: {{NAMESPACE}} | {{ns:10}} <!-- only display output when in the Template: namespace --> | #ifeq: {{NAMESPACE}} | {{ns:10}} <!-- only display output when in the Template: namespace --> | ||
| {{ | | {{ | ||
| Line 15: | Line 14: | ||
| #default = '''Editors have not checked whether this template is or is not on [[w:c:starter:Template:{{{name}}}|the Starter Pages Wikia]].'''{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Not checked for on Starter Pages Wikia|{{PAGENAME}}]] }} }} | | #default = '''Editors have not checked whether this template is or is not on [[w:c:starter:Template:{{{name}}}|the Starter Pages Wikia]].'''{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Not checked for on Starter Pages Wikia|{{PAGENAME}}]] }} }} | ||
}}'' | }}'' | ||
| <table class="plainlinks ambox ambox-blue" style="width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #1e90ff; border-collapse: collapse; background-color: # | | <table class="plainlinks ambox ambox-blue" style="width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #1e90ff; border-collapse: collapse; <!--background-color: #000000;-->"><tr><td class="ambox-image" style="width: 60px; padding: 2px 0px 2px 0.5em; text-align: center;">[[File:Wiki.png|50px]]</td><td style="padding: 0.25em 0.5em;">This template was copied from [[w:c:templates:Template:{{{name}}}|Template:{{{name}}}]] on Wikia Templates.<div class="ambox-smalltext" style="font-size: smaller; margin-top:0.5em; margin-left:0.8em;">That wiki should periodically be checked for a new version of this template.</div></td></tr></table> | ||
<!-- This line can be used instead of the above table if [[Template:Ambox]] is installed on your wiki: {{Ambox|image=[[File:Wiki.png|50px]]|type=This template was copied from [[w:c:templates:Template:{{{name}}}|Template:{{{name}}}]] on Wikia Templates.|info=That wiki should periodically be checked for a new version of this template.|border=blue}} --> | <!-- This line can be used instead of the above table if [[Template:Ambox]] is installed on your wiki: {{Ambox|image=[[File:Wiki.png|50px]]|type=This template was copied from [[w:c:templates:Template:{{{name}}}|Template:{{{name}}}]] on Wikia Templates.|info=That wiki should periodically be checked for a new version of this template.|border=blue}} --> | ||
{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- documentation subpage --> | [[Category:Templates copied from Wikia Templates|{{PAGENAME}}]] }} | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- documentation subpage --> | [[Category:Templates copied from Wikia Templates|{{PAGENAME}}]] }} | ||
}} | }} | ||
}}<noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||