EveryCRT:Contributing: Difference between revisions

Create contributing guide for new and experienced editors (via create-page on MediaWiki MCP Server)
 
Update gallery placement section to reference {{EveryCRT gallery}} instead of {{CRT gallery}}, update default mode to nolines (via update-page on MediaWiki MCP Server)
 
Line 181: Line 181:
By default, all photos appear in a "Photos" section right after the infobox. For pages with many photos, you can control gallery placement:
By default, all photos appear in a "Photos" section right after the infobox. For pages with many photos, you can control gallery placement:


# Add <code>suppress_gallery=yes</code> to the <code><nowiki>{{CRT model}}</nowiki></code> template
# Add <code>suppress_gallery=yes</code> to the content template (<code><nowiki>{{CRT model}}</nowiki></code>, <code><nowiki>{{AV device}}</nowiki></code>, etc.)
# Place <code><nowiki>{{CRT gallery}}</nowiki></code> wherever you want the photos to appear
# Place <code><nowiki>{{EveryCRT gallery}}</nowiki></code> wherever you want the photos to appear


Optional gallery parameters: <code>heights=</code> (default 160px), <code>mode=</code> (default packed).
<code><nowiki>{{EveryCRT gallery}}</nowiki></code> works with any content type — it automatically reads the <code>images=</code> field from the page source. See [[Template:EveryCRT gallery]] for full documentation.
 
Optional parameters: <code>heights=</code> (default 160px), <code>mode=</code> (default nolines).


== Archival links ==
== Archival links ==
MediaWiki Appliance - Powered by TurnKey Linux