Template:Series: Difference between revisions

Create Series template for product line pages (via create-page on MediaWiki MCP Server)
 
Add show_models parameter to allow suppressing inline table (via update-page on MediaWiki MCP Server)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOCACHE__<includeonly>
__NOCACHE__<includeonly>
'''{{PAGENAME}}''' is a CRT series/product line manufactured by {{{manufacturer|}}}.
'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' is a CRT series/product line manufactured by {{{manufacturer|}}}.
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|


{{{description}}}
{{{description}}}
}}
}}
 
{{#ifeq:{{{show_models|yes}}}|no||
== CRT models in the {{PAGENAME}} series ==
== CRT models in the {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} series ==
{{#ask:
{{#ask:
  [[Category:CRT models]]
  [[Category:CRT models]]
  [[Has series::{{PAGENAME}}]]
  [[Has series::{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
  |?Has image#100px;x100px=Photo
  |?Has image#100px;x100px=Photo
  |?Has model code=Model
  |?Has model code=Model
  |?Has CRT type=CRT type
  |?Has CRT type=CRT type
  |?Has screen size inches=Screen size (in)
  |?Has screen size inches=Screen size (in)
|?Has chassis=Chassis
  |?Has TVL=TVL
  |?Has TVL=TVL
  |format=table
  |format=table
Line 19: Line 20:
  |mainlabel=CRT model
  |mainlabel=CRT model
}}
}}
 
}}
{{#set:
{{#set:
Has manufacturer={{{manufacturer|}}}
Has manufacturer={{{manufacturer|}}}
MediaWiki Appliance - Powered by TurnKey Linux