Template:Chassis family: Difference between revisions

Redesigning chassis family template with proper styling - moving models list out of infobox (via update-page on MediaWiki MCP Server)
Fix spacing in intro text (via update-page on MediaWiki MCP Server)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOCACHE__{{#default_form:Chassis family}}<noinclude>
__NOCACHE__{{#default_form:Chassis family}}<noinclude>
This template defines a chassis family/platform.
This template defines a chassis family/platform.
== Usage ==
<pre>
{{Chassis family
|manufacturer=JVC
|description=Brief description of the chassis platform
}}
</pre>
== Parameters ==
* '''manufacturer''' - The manufacturer of this chassis family
* '''description''' - Brief description of the chassis platform (optional)
[[Category:CRT templates]]
</noinclude><templatestyles src="Template:CRT model/styles.css"/>{{#set:
</noinclude><templatestyles src="Template:CRT model/styles.css"/>{{#set:
|Chassis family manufacturer={{{manufacturer|}}}
|Chassis family manufacturer={{{manufacturer|}}}
Line 14: Line 28:
}}
}}
</div>
</div>
== Models using this chassis family ==
 
'''{{PAGENAME}}''' is a CRT chassis family{{#if:{{{manufacturer|}}}|&#32;developed by [[{{{manufacturer}}}]]}}.{{#if:{{{description|}}}| {{{description}}}}}
 
== Chassis in the {{PAGENAME}} family ==
{{#ask:
[[Category:Chassis]]
[[Has chassis family::{{PAGENAME}}]]
|?Has manufacturer=Manufacturer
|format=table
|class=wikitable sortable
|mainlabel=Chassis
|default=''No chassis have been linked to this family yet. To add a chassis, edit the chassis page and set its chassis_family field.''
}}
 
== CRT models using {{PAGENAME}} family chassis ==
{{#ask:
{{#ask:
[[Category:CRT models]]
  [[Has chassis family::{{PAGENAME}}]]
  [[Has chassis family::{{PAGENAME}}]]
  |format=ul
|?Has image#100px;x100px=Photo
  |link=subject
|?Has model code=Model
  |searchlabel=
|?Has chassis=Chassis
|?Has series=Series
|?Has CRT type=CRT type
|?Has screen size inches=Screen size (in)
|?Has TVL=TVL
  |format=table
|class=wikitable sortable
  |mainlabel=CRT model
  |default=''No CRT models have been linked to this chassis family yet.''
}}
}}
<includeonly>[[Category:Chassis families]]</includeonly>
<includeonly>[[Category:Chassis families]]</includeonly>
MediaWiki Appliance - Powered by TurnKey Linux