Template:Wiki: Difference between revisions
Zhuyifei1999 (talk | contribs) (rm junk) |
Hoof Hearted (talk | contribs) m (Text replacement - "Wiki Backups" to "Wiki database backup") |
||
(75 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px]]</noinclude><includeonly>[[Category:All]]<!-- | <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 | |||
-->{{#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 {{{language}}}]]}}<!-- | -->{{#if:{{{language|}}}|[[Category:Wiki {{ucfirst:{{{language}}}}}]]}}<!-- | ||
-->{{#if:{{{editmode|}}}|[[Category:{{{editmode}}}]]}}<!-- | -->{{#if:{{{editmode|}}}|[[Category:{{{editmode}}}]]}}<!-- | ||
-->{{#if:{{{engine|}}}|[[Category: | -->{{#if:{{{engine|}}}|[[Category:{{{engine}}}]]}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{license|}}}|[[Category:Wiki {{ucfirst:{{{license}}}}}]]}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!-- | ||
}}<!-- | -->{{#if:{{{backupurl|}}}|[[Category:Wiki database backup]]}}<!-- | ||
-->{{#if: {{{backupurl|}}}|[[Category:Wiki | -->{{#if:{{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]][[wikiFactor::{{{wikiFactor|0}}}]]}}<!-- | ||
-->{{#if: {{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]] [[wikiFactor::{{{wikiFactor|0}}}]]}}<!-- | Ending categorizing logic | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Starting template code | |||
-->{{#set:Wiki status={{{status|}}} |Wiki engine={{{engine|}}} |Wiki edit mode={{{editmode|}}} |Main topic={{{maintopic|}}} }} | -->{{#set:Wiki status={{{status|}}}|Wiki engine={{{engine|}}}|Wiki edit mode={{{editmode|}}}|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= | {|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| | ||
<!--THEN--> | <!--THEN--> | ||
!colspan= | !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= | {{!}}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= | !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.]] | ||
| NoLogoYet = [[File: | |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.]] | ||
| | |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.]] | ||
| Private | |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 | |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: | {{!}}'''<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--> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right{{!}}[[Founder|Founded by]]: | ||
| | |{{{founder|}}} | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki status|Status]]: | ||
| [[:Category: | |[[:Category:{{{status}}}|{{{status}}}]][[Wiki status::{{{status|}}}| ]]<!--Semantic property--> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki language|Language]]: | ||
| [[:Category:{{{ | |[[:Category:Wiki {{{language}}}|{{{language}}}]][[Wiki language::{{{language|}}}| ]]<!--Semantic property--> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]: | ||
| [[:Category:{{ | |[[:Category:{{{editmode}}}|{{{editmode}}}]][[Wiki edit mode::{{{editmode|}}}| ]]<!--Semantic property--> | ||
|- | |||
!scope=row style=text-align:right|[[:Category:Wiki engine|Wiki engine]]: | |||
!scope= | |[[:Category:{{{engine}}}|{{{engine}}}]][[Wiki engine::{{{engine|}}}| ]]<!--Semantic property--> | ||
|- | |||
!scope=row style=text-align:right{{!}}[[:Category:Wiki license{{!}}Wiki license]]: | |||
|[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]][[Wiki license::{{{license|}}}| ]]<!--Semantic property--> | |||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Topic|Main topic]]: | ||
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]] | |[[:Category:{{{maintopic}}}|{{{maintopic}}}]][[Main topic::{{{maintopic|}}}| ]]<!--Semantic property--> | ||
{{#if: {{{backupurl|}}}| | {{#if:{{{backupurl|}}}| | ||
{{!}}- | {{!}}- | ||
!scope= | !scope=row style=text-align:right{{!}}[[:Category:Wiki database backup{{!}}Backups]]: | ||
{{!}} [{{{backupurl|}}} {{{backupdate|unknown date}}}] | {{!}}[{{{backupurl|}}} {{{backupdate|unknown or dynamic date}}}][[Backup URL::{{{backupurl|}}}| ]][[Backup date::{{{backupdate|}}}| ]]<!--Semantic properties--> | ||
[[ | |||
}} | }} | ||
|}</div><!-- | |}</div><!-- | ||
Ending template code--><noinclude>{{clear}} | |||
--> | :''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]]. | ||
See also: [[template:Wiki boilerplate]], [[template:Size]], and specifically for [[:Category:Wikia|Wikia]] | {{Wiki boilerplate}} | ||
{{ | [[Category:All| ]] | ||
[[Category: | [[Category:Infobox template]]</noinclude> | ||
[[Category:Infobox |
Latest revision as of 20:24, 7 July 2024
[{{{URL}}} {{{logo}}}] | [{{{URL}}} Wiki] [{{{recentchanges URL}}} Recent changes] [{{{wikinode URL}}} WikiNode] [{{{about URL}}} About] [{{{mobile URL}}} Mobile URL] |
---|---|
Founded by: | |
Status: | [[:Category:{{{status}}}|{{{status}}}]] |
Language: | [[:Category:Wiki {{{language}}}|{{{language}}}]] |
Edit mode: | [[:Category:{{{editmode}}}|{{{editmode}}}]] |
Wiki engine: | [[:Category:{{{engine}}}|{{{engine}}}]] |
Wiki license: | [[:Category:Wiki {{{license}}}|{{{license}}}]] |
Main topic: | [[:Category:{{{maintopic}}}|{{{maintopic}}}]] |
- See also: template: Wiki boilerplate (plain-text 'boilerplate' for this template), template: Size, and specifically for Wikia / Fandom-hosted wiki sites: template: Wikia boilerplate.
Template: Wiki boilerplate is the generic boilerplate template used for creating a standardised infobox for articles about wiki SITES here on WikiIndex. It is suitable for all wiki site articles, and is applicable to act as a guide for most wiki engine schemas, including MediaWiki. For Fandom-specific wiki articles powered by Wikia (Fandom), use: template: Wikia boilerplate (currently only available in English). For wiki sites powered by all other wiki engines, please amend the requested field answers to their best fit. This boilerplate template has been manually translated from this specific boilerplate into a few other selected wiki languages as listed at the bottom of this page, based on standard MediaWiki terminology. Please make any changes or updates as required, and please create a new boilerplate (including the below red links) in a different language if desired. It should be noted, for ALL MediaWiki sites (apart from early software versions), all non-English wiki sites will automatically translate all SpecialPages standard English URLs into the actual language as used on said non-English wiki site. All infobox external URLs must start with http:// or https://, whereas external link URLs within the prose description may also use any existing interwiki link for external sites, along with conventional 'internal' wikilinks.
Please note: when adding and / or amending a date for the field containing the backup file, or the placements for page count and / or wikiFactor (wF), please use the YYYY-MM-DD schema, which is the universal and international ISO 8601 date extended format.
Select and highlight the text above in the blue/grey 'boilerplate', select copy the highlighted text (Ctrl-c on M$ Windows, or ⌘-c Apple Mac keyboard), and then paste (Ctrl-v or ⌘-v) it at the top of the edit box of the relevant wiki site article, then amend the fields to the right of the =
sign with the requested information on the specific wiki site. Don't forget to click on the 'Show preview' button (alt-p or shift-esc-p on your keyboard) to verify your edited detail is correct before saving (alt-s or shift-esc-s).
- All wiki language boilerplate versions available for template: Wiki
- Template: Wiki boilerplate — in the English language
- Template: Wiki boilerplate De — in the German language
- Template: Wiki boilerplate Es — in the Spanish language
- Template: Wiki boilerplate Fr — in the French language
- Template: Wiki boilerplate It — in the Italian language
- Template: Wiki boilerplate Ja — in the Japanese language
- Template: Wiki boilerplate Nl — in the Dutch language
- Template: Wiki boilerplate Pl — in the Polish language
- Template: Wiki boilerplate Ru — in the Russian language
- Template: Wiki boilerplate Sv — in the Swedish language
- Template: Wiki boilerplate Zh — in the Chinese language