Template:Wiki: Difference between revisions
Hoof Hearted (talk | contribs) (rv plainlinks didn't look correct, so reinstated) |
Hoof Hearted (talk | contribs) (wikilink to founder, trim out redundant/duplicated coding, add File:404.jpg and Category:Dead) |
||
Line 19: | Line 19: | ||
{{#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|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span> | !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="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> | {{!}}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="text-align:center"{{!}} <span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | !style="text-align:center"{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | ||
|No | |No = [[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki doesn't have a logo]] | ||
|Inactive = [[File:Inactive.png|100px|alt=Wiki is inactive]] | |Inactive= [[File:Inactive.png|100px|alt=Wiki is inactive]] | ||
|Private | |Private = [[Category:Private]][[File:Private.png|100px|alt=Wiki is private]] | ||
|#default = {{{logo}}} | |Dead = [[Category:Dead]][[File:404.jpg|100px|alt=Wiki is dead :-((]] | ||
|#default= {{{logo}}} | |||
}}]</span> | }}]</span> | ||
{{!}} '''<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 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]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<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"{{!}} Founded by: | !scope="row" style="text-align:right"{{!}}[[Founder|Founded by]]: | ||
{{!}} [[{{{founder}}}{{!}}{{{founder}}}]] | {{!}}[[{{{founder}}}{{!}}{{{founder}}}]] | ||
}} | }} | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Status|Status]]: | !scope="row" style="text-align:right"|[[:Category:Wiki Status|Status]]: | ||
| [[:Category:{{{status}}}|{{{status}}}]] | |[[:Category:{{{status}}}|{{{status}}}]] | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Language|Language]]: | !scope="row" style="text-align:right"|[[:Category:Wiki Language|Language]]: | ||
| [[:Category:Wiki {{{language}}}|{{{language}}}]] | |[[:Category:Wiki {{{language}}}|{{{language}}}]] | ||
|- | |- | ||
!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}}}]] | |[[:Category:{{{editmode}}}|{{{editmode}}}]] | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Engine|Wiki engine]]: | !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="row" style="text-align:right"{{!}} [[:Category:Wiki License{{!}}Wiki license]]: | !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="row" style="text-align:right"| [[:Category:Wiki Topic|Main topic]]: | !scope="row" style="text-align:right"|[[:Category:Wiki Topic|Main topic]]: | ||
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]] | |[[:Category:{{{maintopic}}}|{{{maintopic}}}]] | ||
{{#if: {{{backupurl|}}}| | {{#if: {{{backupurl|}}}| | ||
{{!}}- | {{!}}- | ||
!scope="row" style="text-align:right"{{!}} [[:Category:Wiki Backups{{!}}Backups]]: | !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 13:01, 21 September 2014
[{{{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