Template:Wiki: Difference between revisions
Hoof Hearted (talk | contribs) (wikilink to founder, trim out redundant/duplicated coding, add File:404.jpg and Category:Dead) |
Hoof Hearted (talk | contribs) (annotating which fields are semantic properties, trim out xs code) |
||
Line 15: | Line 15: | ||
-->{{#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:95%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4" | ||
|- | |- | ||
{{#ifeq:{{{wide logo|}}}|y| | {{#ifeq:{{{wide logo|}}}|y| | ||
<!--THEN--> | <!--THEN--> | ||
!colspan= | !colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki doesn't have a logo]][[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'''[[Category:CheckURL]]|[{{{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> | ||
|<!--ELSE--> | |<!--ELSE--> | ||
!style= | !style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | ||
|No = [[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki doesn't have a logo]] | |No = [[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki doesn't have a logo]] | ||
|Private = [[Category:Private]][[File:Private.png|100px|alt=Wiki is private]] | |Private = [[Category:Private]][[File:Private.png|100px|alt=Wiki is private]] | ||
|Dead = [[Category:Dead]][[File:404.jpg|100px|alt=Wiki is dead :-((]] | |Dead = [[Category:Dead]][[File:404.jpg|100px|alt=Wiki is dead :-((]] | ||
Line 35: | Line 34: | ||
{{#if: {{{founder|}}}| | {{#if: {{{founder|}}}| | ||
{{!}}- | {{!}}- | ||
!scope= | !scope=row style=text-align:right{{!}}[[Founder|Founded by]]: | ||
{{!}}[[{{{founder}}}{{!}}{{{founder}}}]] | {{!}}[[{{{founder}}}{{!}}{{{founder}}}]] | ||
}} | }} | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Status|Status]]: | ||
|[[:Category:{{{status}}}|{{{status}}}]] | |[[:Category:{{{status}}}|{{{status}}}]]<!-- Semantic property --> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Language|Language]]: | ||
|[[:Category:Wiki {{{language}}}|{{{language}}}]] | |[[:Category:Wiki {{{language}}}|{{{language}}}]]<!-- Semantic property --> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]: | ||
|[[:Category:{{{editmode}}}|{{{editmode}}}]] | |[[:Category:{{{editmode}}}|{{{editmode}}}]]<!-- Semantic property --> | ||
|- | |- | ||
!scope= | !scope=row style=text-align:right|[[:Category:Wiki Engine|Wiki engine]]: | ||
|[[:Category:{{alt engine|{{{engine}}}}}|{{alt engine|{{{engine}}}}}]][[engine::{{{engine|}}}| ]]<!-- Semantic property --> | |[[:Category:{{alt engine|{{{engine}}}}}|{{alt engine|{{{engine}}}}}]][[engine::{{{engine|}}}| ]]<!-- Semantic property --> | ||
{{#if: {{{license|}}}| | {{#if: {{{license|}}}| | ||
{{!}}- | {{!}}- | ||
!scope= | !scope=row style=text-align:right{{!}}[[:Category:Wiki License{{!}}Wiki license]]: | ||
{{!}}[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]][[Wiki License::{{{license|}}}| ]]<!-- Semantic property --> | {{!}}[[: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}}}]]<!-- Semantic property --> | ||
{{#if: {{{backupurl|}}}| | {{#if: {{{backupurl|}}}| | ||
{{!}}- | {{!}}- | ||
!scope= | !scope=row style=text-align:right{{!}}[[:Category:Wiki Backups{{!}}Backups]]: | ||
{{!}}[{{{backupurl|}}} {{{backupdate|unknown date}}}] | {{!}}[{{{backupurl|}}} {{{backupdate|unknown date}}}] | ||
[[backupurl::{{{backupurl|}}}| ]][[backupdate::{{{backupdate|}}}| ]]:<!-- Semantic property --> | [[backupurl::{{{backupurl|}}}| ]][[backupdate::{{{backupdate|}}}| ]]:<!-- Semantic property --> |
Revision as of 10:34, 1 February 2017
[{{{URL}}} {{{logo}}}] | [{{{URL}}} Wiki] [{{{recentchanges URL}}} Recent changes] [{{{wikinode URL}}} WikiNode] [{{{about URL}}} About] [{{{mobile URL}}} Mobile URL] |
---|---|
Status: | [[:Category:{{{status}}}|{{{status}}}]] |
Language: | [[:Category:Wiki {{{language}}}|{{{language}}}]] |
Edit mode: | [[:Category:{{{editmode}}}|{{{editmode}}}]] |
Wiki engine: | [[:Category:Template:Alt engine|Template:Alt engine]] |
Main topic: | [[:Category:{{{maintopic}}}|{{{maintopic}}}]] |
See also: template:Wiki boilerplate, template:Size, and specifically for Wikia wikis: 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