Difference between revisions of "Template:Build Guide"

From Autopilot Wiki
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|Build Guide Type=
 
|Build Guide Type=
 
|Short Description=
 
|Short Description=
|Uses Material(s)=
 
|Uses Part(s)=
 
 
|Creator=
 
|Creator=
 
|Version=
 
|Version=
Line 21: Line 19:
 
{{{Materials|}}}
 
{{{Materials|}}}
 
{{{Tools|}}}
 
{{{Tools|}}}
 
+
{{#if: {{{Image|}}} |
{{#if:{{{Image|}}}|
 
 
{{#set:
 
{{#set:
 
   Has Image=File:{{{Image}}}
 
   Has Image=File:{{{Image}}}
 
}}
 
}}
 
<div class="flex-row row">
 
<div class="flex-row row">
<div class="col-xs-12 col-md-6 col-lg-6">
+
<div class="col-xs-12 col-md-8 col-lg-8">
 
[[File:{{{Image}}}{{!}}class=img-responsive]]
 
[[File:{{{Image}}}{{!}}class=img-responsive]]
 
</div>
 
</div>
<div class="col-xs-12 col-md-6 col-lg-6">
+
<div class="col-xs-12 col-md-4 col-lg-4">
{{{!}} style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; padding: 0.2em; text-align:left;"
+
|}}
| <!-- if no image... --!>
+
<blockquote>[[Has Description::{{{Short Description|}}}]]</blockquote>
{{{!}} style="width: 25em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| {{#if: {{{Image|}}} |
 +
style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; padding: 0.2em; text-align:left;width: 100%;font-family:monospace;"
 +
|
 +
style="width: 25em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;font-family:monospace;"
 
}}
 
}}
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
 
|-
 
|-
 
! Modality
 
! Modality
Line 54: Line 53:
 
{{#if:{{{Image|}}}|</div></div>|}}
 
{{#if:{{{Image|}}}|</div></div>|}}
  
[[Has Description::{{{Short Description|}}}]]
+
<div {{ Ingredients_Panel }} >
 
 
 
== Ingredients ==
 
== Ingredients ==
  
 +
<div class="flex-row row">
 +
<div class="col-xs-12 col-md-6 col-lg-6">
 
{{#if: {{{Uses Part(s)|}}} |
 
{{#if: {{{Uses Part(s)|}}} |
 
=== [[Parts]] ===
 
=== [[Parts]] ===
  
 
{{#arraymap:{{{Uses Part(s)|}}}|,|x|* [[Uses Part::x]]|\n}}
 
{{#arraymap:{{{Uses Part(s)|}}}|,|x|* [[Uses Part::x]]|\n}}
 
 
|}}
 
|}}
 
+
</div>
 +
<div class="col-xs-12 col-md-6 col-lg-6">
 
{{#if: {{{Uses Schematic(s)|}}} |
 
{{#if: {{{Uses Schematic(s)|}}} |
 
=== [[Schematics]] ===
 
=== [[Schematics]] ===
 
{{#arraymap:{{{Uses Schematic(s)|}}}|,|x|* [[Uses Schematic::x]]|\n}}
 
{{#arraymap:{{{Uses Schematic(s)|}}}|,|x|* [[Uses Schematic::x]]|\n}}
 
|}}
 
|}}
 +
</div>
 +
</div>
  
 
{{#if: {{#ask:
 
{{#if: {{#ask:
Line 80: Line 82:
 
   |mainlabel=-
 
   |mainlabel=-
 
   |?Subobject Of=Name
 
   |?Subobject Of=Name
   |?Material Kind
+
   |?Material Quantity=Quantity
  |?Quantity
+
   |?Material Dimensions=Dimensions
   |?Dimensions
 
 
   |?Manufactured By=Manufacturer
 
   |?Manufactured By=Manufacturer
 
   |?Has Product ID=Product ID
 
   |?Has Product ID=Product ID
 +
  |?Has USD Price=Price
 +
  |?Has Product Page=Page
 
   |?Has Datasheet=Datasheet
 
   |?Has Datasheet=Datasheet
 
   | default=No Materials Found
 
   | default=No Materials Found
 +
  |format=plainlist
 +
  |link=none
 +
  |introtemplate=Materials_ShortURL_Header
 +
  |template=Materials_ShortURL
 +
  |outrotemplate=Materials_ShortURL_Footer
 
}}
 
}}
 
|}}
 
|}}
Line 100: Line 108:
 
   |?Subobject Of=Name
 
   |?Subobject Of=Name
 
   |?Tool Kind
 
   |?Tool Kind
  |?Quantity
 
 
   |?Dimensions
 
   |?Dimensions
 
   |?Manufactured By=Manufacturer
 
   |?Manufactured By=Manufacturer
 
   |?Has Product ID=Product ID
 
   |?Has Product ID=Product ID
 
   |?Has Datasheet=Datasheet
 
   |?Has Datasheet=Datasheet
 +
  |format=broadtable
 +
  |class=smwtable-clean sortable
 
}}
 
}}
 
|}}
 
|}}
 +
 +
</div>
  
 
[[Category:Build Guide]]
 
[[Category:Build Guide]]
 
</includeonly>
 
</includeonly>

Latest revision as of 22:28, 26 May 2022

This is the "Build Guide" template. It should be called in the following format:

{{Build Guide
|Image=
|Modality=
|Build Guide Type=
|Short Description=
|Creator=
|Version=
|Submitted Date=
|Uses Tool(s)=
|Uses Schematic(s)=
}}

Edit the page to see the template text.