Template:Wiki: Difference between revisions

Jump to navigation Jump to search
Improving template accesibility
(Remove redundancy with image switch)
(Improving template accesibility)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Image:StructuredDataGraph.png|frameless|left|600px]]
[[Image:StructuredDataGraph.png|frameless|left|600px]]
</noinclude><includeonly>
</noinclude><includeonly><!--
 
Categorizing logic
-->
{{DEFAULTSORT:{{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}}}[[Category:All]]
{{DEFAULTSORT:{{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}}}[[Category:All]]
[[Category:{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}]]
[[Category:{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}]]
Line 11: Line 14:
[[Category:Wiki {{{license|{{{wiki license|{{{wiki_license}}}}}}}}}]]
[[Category:Wiki {{{license|{{{wiki license|{{{wiki_license}}}}}}}}}]]
}}
}}
</includeonly>
</includeonly><!--
<div style="padding:5; border:0; float:right; background:white;">
 
{| cellpadding="3" align="right" border="5" style="background:white;"
Starting template code
--><div style="padding:5; border:0; float:right; background:white;">
{| border="5" style="background:white;"
|-
|-
|
| style="padding:3" |  
{| class="infobox" cellpadding="3" style="width: 23em; font-size: 95%; background:white;"
{| class="infobox" cellpadding="3" style="width:23em; font-size:95%; text-align:left; line-height:1.5em;"
|-
|-
{{#if:{{{wide logo|{{{wide_logo|}}}}}}|
{{#if:{{{wide logo|{{{wide_logo|}}}}}}|
<!--THEN-->
<!--THEN-->
! colspan="2" style="text-align: center;" {{!}} {{#ifeq:{{{logo|{{{wiki logo|{{{wiki_logo|}}}}}}}}}| |[[Image:NoLogo.png]][[Category:UnknownWikiLogo]]|{{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}}}
! colspan="2" style="text-align:center;" {{!}} {{#ifeq:{{{logo|{{{wiki logo|{{{wiki_logo|}}}}}}}}}| |[[Image:NoLogo.png|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}
}}
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align: center;" {{!}} <span style="white-space:nowrap;">{{#ifeq:{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}} {{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}]}}</span> • <span style="white-space:nowrap;">[{{{recentchanges URL|{{{wiki recentchanges URL|{{{wiki_recentchanges_URL}}}}}}}}} RecentChanges]</span> • <span style="white-space:nowrap;">[{{{wikinode URL|{{{wiki wikinode URL|{{{wiki_wikinode_URL}}}}}}}}} WikiNode]</span>
{{!}} colspan="2" style="text-align:center;" {{!}} <span style="white-space:nowrap;">{{#ifeq:{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}} {{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}]}}</span> • <span style="white-space:nowrap;">[{{{recentchanges URL|{{{wiki recentchanges URL|{{{wiki_recentchanges_URL}}}}}}}}} RecentChanges]</span> • <span style="white-space:nowrap;">[{{{wikinode URL|{{{wiki wikinode URL|{{{wiki_wikinode_URL}}}}}}}}} WikiNode]</span>
|<!--ELSE-->
|<!--ELSE-->
! style="text-align:right;" {{!}} <span class="plainlinks">[{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}} {{#switch:{{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}
! style="text-align:right;" {{!}} <span class="plainlinks">[{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}} {{#switch:{{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}
Line 30: Line 36:
| http://www.wikiindex.com/images/e/e6/NoLogo.png
| http://www.wikiindex.com/images/e/e6/NoLogo.png
| NoLogo
| NoLogo
| No = [[Category:UnknownWikiLogo]] http://wikiindex.org/images/e/e6/NoLogo.png
| No       = [[Category:UnknownWikiLogo]] [[Image:NoLogo.png|alt=Wiki doesn't have a logo]]
| http://wikiindex.org/images/a/a7/NoLogoYet.png
| http://wikiindex.org/images/a/a7/NoLogoYet.png
| http://www.wikiindex.org/images/a/a7/NoLogoYet.png
| http://www.wikiindex.org/images/a/a7/NoLogoYet.png
Line 36: Line 42:
| http://www.wikiindex.com/images/a/a7/NoLogoYet.png
| http://www.wikiindex.com/images/a/a7/NoLogoYet.png
| NoYet
| NoYet
| NoLogoYet = http://wikiindex.org/images/a/a7/NoLogoYet.png
| NoLogoYet = [[Image:NoLogoYet.png|alt=Wiki doesn't have a logo yet]]
| Inactive = http://wikiindex.org/images/2/25/Inactive.png
| http://wikiindex.org/images/2/25/Inactive.png
| Private = http://wikiindex.org/images/2/2f/Private.png
| http://www.wikiindex.org/images/2/25/Inactive.png
|#default = {{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}
| http://wikiindex.com/images/2/25/Inactive.png
| http://www.wikiindex.com/images/2/25/Inactive.png
| Inactive  = [[Image:Inactive.png|100px|alt=Wiki is inactive]]
| http://wikiindex.org/images/2/2f/Private.png
| http://www.wikiindex.org/images/2/2f/Private.png
| http://wikiindex.com/images/2/2f/Private.png
| http://www.wikiindex.com/images/2/2f/Private.png
| Private  = [[Image:Private.png|100px|alt=Wiki is private]]
|#default   = {{{logo|{{{wiki logo|{{{wiki_logo}}}}}}}}}
}}]</span>
}}]</span>
{{!}} <div style="white-space:nowrap;">{{#ifeq:{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{wiki URL|{{{URL|{{{wiki_URL}}}}}}}}} {{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}]}}</div><div style="white-space:nowrap;">[{{{wiki recentchanges URL|{{{recentchanges URL|{{{wiki_recentchanges_URL}}}}}}}}} RecentChanges]</div><div style="white-space:nowrap;">[{{{wikinode URL|{{{wiki wikinode URL|{{{wiki_wikinode_URL}}}}}}}}} WikiNode]</div>
{{!}} <span style="white-space:nowrap;">{{#ifeq:{{{URL|{{{wiki URL|{{{wiki_URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{wiki URL|{{{URL|{{{wiki_URL}}}}}}}}} {{{name|{{{wiki name|{{{wiki_name|{{PAGENAME}}}}}}}}}}}]}}</span><br><span style="white-space:nowrap;">[{{{wiki recentchanges URL|{{{recentchanges URL|{{{wiki_recentchanges_URL}}}}}}}}} RecentChanges]</span><br><span style="white-space:nowrap;">[{{{wikinode URL|{{{wiki wikinode URL|{{{wiki_wikinode_URL}}}}}}}}} WikiNode]</span>
}}<!--ENDIF-->
}}<!--ENDIF-->
|-
|-
! style="text-align:right;" | [[:Category:Wiki Status|Status]]
! scope="row" style="text-align:right;" | [[:Category:Wiki Status|Status]]
| [[:Category:{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}|{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}]]
| [[:Category:{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}|{{{status|{{{wiki status|{{{wiki_status}}}}}}}}}]]
|-
|-
! style="text-align:right;" | [[:Category:Wiki Language|Language]]
! scope="row" style="text-align:right;" | [[:Category:Wiki Language|Language]]
| [[:Category:Wiki {{{language|{{{wiki language|{{{wiki_language}}}}}}}}}|{{{language|{{{wiki language|{{{wiki_language}}}}}}}}}]]
| [[:Category:Wiki {{{language|{{{wiki language|{{{wiki_language}}}}}}}}}|{{{language|{{{wiki language|{{{wiki_language}}}}}}}}}]]
|-
|-
! style="text-align:right;" | [[:Category:Wiki Edit Mode|Edit Mode]]
! scope="row" style="text-align:right;" | [[:Category:Wiki Edit Mode|Edit Mode]]
| [[:Category:{{{editmode|{{{wiki editmode|{{{wiki_editmode}}}}}}}}}|{{{editmode|{{{wiki editmode|{{{wiki_editmode}}}}}}}}}]]
| [[:Category:{{{editmode|{{{wiki editmode|{{{wiki_editmode}}}}}}}}}|{{{editmode|{{{wiki editmode|{{{wiki_editmode}}}}}}}}}]]
|-
|-
! style="text-align:right;" | [[:Category:Wiki Engine|Wiki Engine]]
! scope="row" style="text-align:right;" | [[:Category:Wiki Engine|Wiki Engine]]
| [[:Category:{{alt engine|{{{engine|{{{wiki engine|{{{wiki_engine}}}}}}}}}}}|{{alt engine|{{{engine|{{{wiki engine|{{{wiki_engine}}}}}}}}}}}]]
| [[:Category:{{alt engine|{{{engine|{{{wiki engine|{{{wiki_engine}}}}}}}}}}}|{{alt engine|{{{engine|{{{wiki engine|{{{wiki_engine}}}}}}}}}}}]]
{{#if: {{{license|{{{wiki license|{{{wiki_license|}}}}}}}}}|
{{#if: {{{license|{{{wiki license|{{{wiki_license|}}}}}}}}}|
{{!}}-
{{!}}-
! style="text-align:right;" {{!}} [[:Category:Wiki License{{!}}Wiki License]]
! scope="row" style="text-align:right;" {{!}} [[:Category:Wiki License{{!}}Wiki License]]
{{!}} [[:Category:Wiki {{{license|{{{wiki license|{{{wiki_license}}}}}}}}}{{!}}{{{license|{{{wiki license|{{{wiki_license}}}}}}}}}]]
{{!}} [[:Category:Wiki {{{license|{{{wiki license|{{{wiki_license}}}}}}}}}{{!}}{{{license|{{{wiki license|{{{wiki_license}}}}}}}}}]]
}}
}}
|-
|-
! style="text-align:right;" | [[:Category:Wiki Topic|Main Topic]]
! scope="row" style="text-align:right;" | [[:Category:Wiki Topic|Main Topic]]
| [[:Category:{{{maintopic|{{{wiki maintopic|{{{wiki_maintopic}}}}}}}}}|{{{maintopic|{{{wiki maintopic|{{{wiki_maintopic}}}}}}}}}]]
| [[:Category:{{{maintopic|{{{wiki maintopic|{{{wiki_maintopic}}}}}}}}}|{{{maintopic|{{{wiki maintopic|{{{wiki_maintopic}}}}}}}}}]]
|}
|}
|}
|}
</div><noinclude><div style="clear:both;"></div>
</div><noinclude><br style="clear:both;">
See also: [[Template:Wiki Boilerplate]], [[Template:Size]]
See also: [[Template:Wiki Boilerplate]], [[Template:Size]]
{{Wiki Boilerplate}}
{{Wiki Boilerplate}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
88

edits

Navigation menu