Bureaucrats, checkuser, interwiki, Administrators
168
edits
Hoof Hearted (talk | contribs) m (trim out redundant cat) |
Jack Phoenix (talk | contribs) (Make the "founder" field truly optional so that it does *not* render as an empty field if the value isn't specified.) |
||
| (42 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki article infobox, and how we use [[WikiIndex: | <noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki site article infobox, and how we use [[WikiIndex:WikiIndex:Structured data|structured data]] here on WikiIndex.|alt=Image shows a screenshot of the rendered display of the infobox for the WikiIndex article. It also includes 18 'balloon'-type areas containing descriptions of the various elements of the actual rendered infobox.]]</noinclude><includeonly>[[Category:All]]<!-- | ||
Starting categorizing logic | Starting categorizing logic | ||
-->{{#if:{{{wikinode URL|}}}|{{#ifeq:{{{wikinode URL|}}}|No||[[Category:Wikis with a WikiNode]]}}}}<!-- | |||
-->{{#if:{{{mobile URL|}}}|{{#ifeq:{{{mobile URL|}}}|No||[[Category:Wikis with a mobile-view site]]}}}}<!-- | |||
-->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!-- | -->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!-- | ||
-->{{#if:{{{language|}}}|[[Category:Wiki {{ucfirst:{{{language}}}}}]]}}<!-- | -->{{#if:{{{language|}}}|[[Category:Wiki {{ucfirst:{{{language}}}}}]]}}<!-- | ||
-->{{#if:{{{editmode|}}}|[[Category:{{{editmode}}}]]}}<!-- | -->{{#if:{{{editmode|}}}|[[Category:{{{editmode}}}]]}}<!-- | ||
-->{{#if:{{{engine|}}}|[[Category:{{{engine}}}]]}}<!-- | -->{{#if:{{{engine|}}}|[[Category:{{{engine}}}]]}}<!-- | ||
-->{{#if:{{{license|}}}|[[Category:Wiki {{ucfirst:{{{license}}}}}]]}}<!-- | |||
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!-- | -->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!-- | ||
-->{{#if:{{{backupurl|}}}|[[Category:Wiki database backup]]}}<!-- | |||
-->{{#if:{{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]][[wikiFactor::{{{wikiFactor|0}}}]]}}<!-- | |||
-->{{#if: {{{backupurl|}}}|[[Category:Wiki | |||
-->{{#if: {{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]] [[wikiFactor::{{{wikiFactor|0}}}]]}}<!-- | |||
Ending categorizing logic | Ending categorizing logic | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Starting template code | Starting template code | ||
-->{{#set: | -->{{#set:|Wiki engine={{{engine|}}}|Main topic={{{maintopic|}}} }} | ||
<div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em"> | <div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em"> | ||
{|class=infobox cellpadding=3 style="width:26em; font-size: | {|class=infobox cellpadding=3 style="width:26em; font-size:96%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4" | ||
|- | |- | ||
{{#ifeq:{{{wide logo|}}}|y| | {{#ifeq:{{{wide logo|}}}|y| | ||
<!--THEN--> | <!--THEN--> | ||
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png| | !colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki site logo unknown (for variety of reasons), a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span> | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{!}}colspan=2 style=text-align:center{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent changes]</span> • <span style=white-space:nowrap>[{{{wikinode URL|No}}} WikiNode]</span> • <span style=white-space:nowrap>[{{{about URL|No}}} About]</span> • <span style=white-space:nowrap>[{{{mobile URL|No}}} Mobile URL]</span> | {{!}}colspan=2 style=text-align:center{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent changes]</span> • <span style=white-space:nowrap>[{{{wikinode URL|No}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!--Semantic property--></span> • <span style=white-space:nowrap>[{{{about URL|No}}} About]</span> • <span style=white-space:nowrap>[{{{mobile URL|No}}} Mobile URL]</span> | ||
|<!--ELSE--> | |<!--ELSE--> | ||
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | !style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | ||
|No | |No =[[Category:No wiki logo]][[File:NoLogo.png|Wiki site positively confirmed that it does NOT have a logo, a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]] | ||
|Upload = [[File:Upload logo.png|Wiki has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, | |NoLogoYet=[[Category:UnknownWikiLogo]][[File:No Logo Uploaded Yet.png|Possibly new wiki site, yet to create its own logo|alt=A square image with a graduated pale cream background, containing the words 'No Logo Uploaded Yet' in black text.]] | ||
|Private= [[Category:Private]][[File:Private.png | |Unknown =[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki site logo unknown (for variety of reasons), a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]] | ||
|Dead | |Upload =[[Category:Wiki site requiring logo upload]][[File:Upload logo.png|Wiki site has a logo, but it needs uploading here on WikiIndex|alt=A square image with a graduated pale brown background, containing the words 'Please Upload Logo' in black text.]] | ||
|#default= {{{logo}}} | |Private =[[Category:Private]][[File:Private.png|Wiki site is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, containing the words 'Private Wiki' in black text.]] | ||
|Dead =[[Category:Dead]][[File:404.jpg|135px|Wiki site is dead, and we can not find a logo :-((|alt= ]] | |||
|Wikia =[[Category:Wikia]][[File:WikiaLogo.JPG|Wikia site does not have a logo, a generic 'Wikia' logo is displayed|alt= ]] | |||
|#default ={{{logo}}} | |||
}}]</span> | }}]</span> | ||
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span> | {{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!--Semantic property--><br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span> | ||
}}<!--ENDIF--> | }}<!--ENDIF--> | ||
{{#if: {{{founder|}}}| | {{#if:{{{founder|}}}| | ||
{{!}}- | {{!}}- | ||
!scope=row style=text-align:right{{!}}[[Founder|Founded by]]: | !scope=row style=text-align:right{{!}}[[Founder|Founded by]]: | ||
{{!}}{{{founder}}} | {{!}}{{{founder|}}} | ||
}} | }} | ||
|- | |- | ||
!scope=row style=text-align:right|[[:Category:Wiki | !scope=row style=text-align:right|[[:Category:Wiki status|Status]]: | ||
|[[:Category:{{{status}}}|{{{status}}}]]<!-- Semantic property --> | |[[:Category:{{{status}}}|{{{status}}}]]{{#ifeq: {{{status|}}} |YourWikiStatus | |{{#set: Wiki status={{{status|}}} }} }}<!--Semantic property--> | ||
|- | |- | ||
!scope=row style=text-align:right|[[:Category:Wiki | !scope=row style=text-align:right|[[:Category:Wiki language|Language]]: | ||
|[[:Category:Wiki {{{language}}}|{{{language}}}]]<!-- Semantic property --> | |[[:Category:Wiki {{{language}}}|{{{language}}}]]{{#set: Wiki language={{{language|}}} }}<!--Semantic property--> | ||
|- | |- | ||
!scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]: | !scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]: | ||
|[[:Category:{{{editmode}}}|{{{editmode}}}]]<!-- Semantic property --> | |[[:Category:{{{editmode}}}|{{{editmode}}}]]{{#ifeq: {{{editmode|}}} |YourWikiEditMode | |{{#set: Wiki edit mode={{{editmode|}}} }} }}<!--Semantic property--> | ||
|- | |- | ||
!scope=row style=text-align:right|[[:Category:Wiki | !scope=row style=text-align:right|[[:Category:Wiki engine|Wiki engine]]: | ||
|[[:Category:{{{engine}}}|{{{engine}}}]] | |[[:Category:{{{engine}}}|{{{engine}}}]]{{#set: Wiki engine={{{engine|}}} }}<!--Semantic property--> | ||
|- | |||
!scope=row style=text-align:right{{!}}[[:Category:Wiki license{{!}}Wiki license]]: | |||
!scope=row style=text-align:right{{!}}[[:Category:Wiki | |[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]]{{#ifeq: {{{license|}}} |YourWiki'sLicense | |{{#set: Wiki license={{{license|}}} }} }}<!--Semantic property--> | ||
|- | |- | ||
!scope=row style=text-align:right|[[:Category:Wiki Topic|Main topic]]: | !scope=row style=text-align:right|[[:Category:Wiki Topic|Main topic]]: | ||
|[[:Category:{{{maintopic}}}|{{{maintopic}}}]]<!-- Semantic property --> | |[[:Category:{{{maintopic}}}|{{{maintopic}}}]]{{#set: Main topic={{{maintopic|}}} }}<!--Semantic property--> | ||
{{#if: {{{backupurl|}}}| | {{#if:{{{backupurl|}}}| | ||
{{!}}- | {{!}}- | ||
!scope=row style=text-align:right{{!}}[[:Category:Wiki | !scope=row style=text-align:right{{!}}[[:Category:Wiki database backup{{!}}Backups]]: | ||
{{!}}[{{{backupurl|}}} {{{backupdate|unknown or dynamic date}}}] | {{!}}[{{{backupurl|}}} {{{backupdate|unknown or dynamic date}}}]{{#switch: {{{backupdate|}}} |unknown or dynamic date={{#set: Backup URL={{{backupurl|}}} }} |unknown date={{#set: Backup URL={{{backupurl|}}} }} |dynamic date={{#set: Backup URL={{{backupurl|}}} }} |#default={{#set: Backup URL={{{backupurl|}}} | Backup date={{{backupdate|}}} }} }}<!--Semantic properties--> | ||
}} | }} | ||
|}</div><!-- | |}</div><!-- | ||
Ending template code--><noinclude>{{clear}} | Ending template code--><noinclude>{{clear}} | ||
See also: [[template:Wiki boilerplate]], [[template:Size]], and specifically for [[:Category:Wikia|Wikia]] | :''See also:'' [[template: Wiki boilerplate]] (plain-text 'boilerplate' for this template), [[template: Size]], and specifically for [[:Category:Wikia|Wikia / Fandom]]-hosted wiki sites: [[template: Wikia boilerplate]]. | ||
{{ | {{Wiki boilerplate}} | ||
[[Category:All| ]] | [[Category:All| ]] | ||
[[Category:Infobox | [[Category:Infobox template]]</noinclude> | ||