Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox service: Difference between revisions

Template page
Create an infobox for services provided by Neodyland
 
Use an Extension-style layout with service-specific fields
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox service/styles.css" />
{{Infobox
{{Infobox
| name = Infobox service
| bodyclass = infobox-service infobox-service-status-{{#switch:{{lc:{{{status|unknown}}}}}
| bodyclass = infobox-service
| planned = planned
| title = {{{name|{{PAGENAME}}}}}
| experimental = experimental
| alpha = alpha
| beta = beta
| stable = stable
| maintenance = maintenance
| unstable = unstable
| deprecated = deprecated
| unmaintained = unmaintained
| discontinued = discontinued
| unknown = unknown
| #default = unknown
}}
| bodystyle = width:280px;
| title = '''[[Template:Infobox service|Neodyland services]]'''
| titleclass = infobox-service-caption
| above = <div class="infobox-service-header__inner"><span class="infobox-service-header__icon">[[File:OOjs UI icon advanced-invert.svg|40px|link=Template:Infobox service|alt=]]</span><span class="infobox-service-header__copy"><span class="infobox-service-header__name">{{{name|{{PAGENAME}}}}}</span><span class="infobox-service-header__status">[[Template:Infobox Release status|Release status:]] {{Infobox Release status|{{{status|unknown}}}}}</span></span></div>
| aboveclass = infobox-header infobox-service-header notheme
| subheader = {{{tagline|}}}
| subheader = {{{tagline|}}}
 
| subheaderclass = infobox-service-tagline
| image = {{#if:{{{logo|}}}
| image = {{#if:{{{logo|}}}|[[File:{{{logo}}}|{{{logo_size|240px}}}|alt={{{logo_alt|{{{name|{{PAGENAME}}}}} logo}}}]]}}
| [[File:{{{logo}}}|{{{logo_size|240px}}}|alt={{{logo_alt|{{{name|{{PAGENAME}}}}} logo}}}]]
| imageclass = infobox-service-image
}}
| caption = {{{logo_caption|}}}
| caption = {{{logo_caption|}}}


| label1 = Release status
| label1 = [[Template:Infobox service#Parameters|Service type]]
| data1 = {{Infobox Release status|{{{status|unknown}}}}}
| data1 = {{{type|}}}
 
| label2 = Service type
| data2 = {{{type|}}}
 
| label3 = Description
| data3 = {{{description|}}}


| header10 = Development and operation
| label2 = [[Template:Infobox service#Parameters|Description]]
| data2 = {{{description|}}}


| label11 = Provided by
| label3 = [[Template:Infobox service#Parameters|Provided by]]
| data11 = {{{provider|Neodyland}}}
| data3 = {{{provider|Neodyland}}}


| label12 = Developed by
| label4 = [[Template:Infobox service#Parameters|Developer(s)]]
| data12 = {{{developer|}}}
| data4 = {{{developer|}}}


| label13 = Maintained by
| label5 = [[Template:Infobox service#Parameters|Maintainer(s)]]
| data13 = {{{maintainer|}}}
| data5 = {{{maintainer|}}}


| label14 = Initial release
| label6 = [[Template:Infobox service#Parameters|Initial release]]
| data14 = {{{released|}}}
| data6 = {{{released|}}}


| label15 = Latest version
| label7 = [[Template:Infobox service#Parameters|Latest version]]
| data15 = {{#if:{{{version|}}}
| data7 = {{#if:{{{version|}}}
  | {{{version}}}{{#if:{{{updated|}}}| <small>({{{updated}}})</small>}}
  | {{{version}}}{{#if:{{{updated|}}}|&nbsp;({{{updated}}})}}
}}
}}


| header20 = Availability
| label8 = [[Template:Infobox service#Parameters|Platform]]
 
| data8 = {{{platform|}}}
| label21 = Platform
| data21 = {{{platform|}}}
 
| label22 = Availability
| data22 = {{{availability|}}}


| label23 = Languages
| label9 = [[Template:Infobox service#Parameters|Availability]]
| data23 = {{{languages|}}}
| data9 = {{{availability|}}}


| label24 = Access
| label10 = [[Template:Infobox service#Parameters|Languages]]
| data24 = {{{access|}}}
| data10 = {{{languages|}}}


| label25 = Licence
| label11 = [[Template:Infobox service#Parameters|Access]]
| data25 = {{{license|}}}
| data11 = {{{access|}}}


| header30 = Links
| label12 = [[Template:Infobox service#Parameters|Licence]]
| data12 = {{{license|}}}


| label31 = Website
| label13 = [[Template:Infobox service#Parameters|Website]]
| data31 = {{{website|}}}
| data13 = {{{website|}}}


| label32 = Service status
| label14 = [[Template:Infobox service#Parameters|Service status]]
| data32 = {{{status_page|}}}
| data14 = {{{status_page|}}}


| label33 = Documentation
| label15 = [[Template:Infobox service#Parameters|Documentation]]
| data33 = {{{documentation|}}}
| data15 = {{{documentation|}}}


| label34 = Source code
| label16 = [[Template:Infobox service#Parameters|Source code]]
| data34 = {{{source|}}}
| data16 = {{{source|}}}


| label35 = Support
| label17 = [[Template:Infobox service#Parameters|Support]]
| data35 = {{{support|}}}
| data17 = {{{support|}}}
}}
}}
{{#if:{{{nocat|}}}||{{#ifeq:{{NAMESPACE}}|Template||
{{#if:{{{nocat|}}}||{{#ifeq:{{NAMESPACE}}|Template||
Line 124: Line 131:


The <code>status</code> parameter accepts the values documented at {{tl|Infobox Release status}}. Article transclusions are automatically placed in [[:Category:Neodyland services]] and the corresponding release-status category. Set <code>nocat=1</code> in examples and test transclusions.
The <code>status</code> parameter accepts the values documented at {{tl|Infobox Release status}}. Article transclusions are automatically placed in [[:Category:Neodyland services]] and the corresponding release-status category. Set <code>nocat=1</code> in examples and test transclusions.
== Parameters ==
All fields except <code>status</code> are optional. The infobox displays only rows whose values are provided. The parameters describe service ownership, lifecycle, availability, implementation platform, and relevant operational links; they do not expose MediaWiki-extension-specific fields such as hooks or PHP requirements.


== Example ==
== Example ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.