Difference between revisions of "Template:Build Guide"
From Autopilot Wiki
(38 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Build Guide | {{Build Guide | ||
+ | |Image= | ||
|Modality= | |Modality= | ||
|Build Guide Type= | |Build Guide Type= | ||
|Short Description= | |Short Description= | ||
− | |||
− | |||
|Creator= | |Creator= | ||
|Version= | |Version= | ||
|Submitted Date= | |Submitted Date= | ||
|Uses Tool(s)= | |Uses Tool(s)= | ||
+ | |Uses Schematic(s)= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{| style="width: | + | </noinclude><includeonly> |
− | + | {{{Materials|}}} | |
+ | {{{Tools|}}} | ||
+ | {{#if: {{{Image|}}} | | ||
+ | {{#set: | ||
+ | Has Image=File:{{{Image}}} | ||
+ | }} | ||
+ | <div class="flex-row row"> | ||
+ | <div class="col-xs-12 col-md-8 col-lg-8"> | ||
+ | [[File:{{{Image}}}{{!}}class=img-responsive]] | ||
+ | </div> | ||
+ | <div class="col-xs-12 col-md-4 col-lg-4"> | ||
+ | |}} | ||
+ | <blockquote>[[Has Description::{{{Short Description|}}}]]</blockquote> | ||
+ | {| {{#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;" | ||
+ | }} | ||
|- | |- | ||
! Modality | ! Modality | ||
Line 24: | Line 41: | ||
! Build Guide Type | ! Build Guide Type | ||
| [[Has Build Guide Type::{{{Build Guide Type|}}}]] | | [[Has Build Guide Type::{{{Build Guide Type|}}}]] | ||
− | |||
− | |||
− | |||
|- | |- | ||
! Creator | ! Creator | ||
Line 36: | Line 50: | ||
! Submitted Date | ! Submitted Date | ||
| {{{Submitted Date|}}} | | {{{Submitted Date|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
+ | {{#if:{{{Image|}}}|</div></div>|}} | ||
+ | <div {{ Ingredients_Panel }} > | ||
+ | == Ingredients == | ||
− | {{{Tools|}}} | + | <div class="flex-row row"> |
+ | <div class="col-xs-12 col-md-6 col-lg-6"> | ||
+ | {{#if: {{{Uses Part(s)|}}} | | ||
+ | === [[Parts]] === | ||
+ | |||
+ | {{#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)|}}} | | ||
+ | === [[Schematics]] === | ||
+ | {{#arraymap:{{{Uses Schematic(s)|}}}|,|x|* [[Uses Schematic::x]]|\n}} | ||
+ | |}} | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | {{#if: {{#ask: | ||
+ | [[-Has subobject::{{FULLPAGENAME}}]] | ||
+ | [[Subobject Type::Material]]}} | | ||
+ | === [[Materials]] === | ||
+ | |||
+ | {{#ask: | ||
+ | [[-Has subobject::{{FULLPAGENAME}}]] | ||
+ | [[Subobject Type::Material]] | ||
+ | |mainlabel=- | ||
+ | |?Subobject Of=Name | ||
+ | |?Material Quantity=Quantity | ||
+ | |?Material Dimensions=Dimensions | ||
+ | |?Manufactured By=Manufacturer | ||
+ | |?Has Product ID=Product ID | ||
+ | |?Has USD Price=Price | ||
+ | |?Has Product Page=Page | ||
+ | |?Has Datasheet=Datasheet | ||
+ | | default=No Materials Found | ||
+ | |format=plainlist | ||
+ | |link=none | ||
+ | |introtemplate=Materials_ShortURL_Header | ||
+ | |template=Materials_ShortURL | ||
+ | |outrotemplate=Materials_ShortURL_Footer | ||
+ | }} | ||
+ | |}} | ||
+ | |||
+ | {{#if: {{#ask:[[-Has subobject::{{FULLPAGENAME}}]] | ||
+ | [[Subobject Type::Tool]]}} | | ||
+ | === [[Tools]] === | ||
+ | |||
+ | {{#ask: | ||
+ | [[-Has subobject::{{FULLPAGENAME}}]] | ||
+ | [[Subobject Type::Tool]] | ||
+ | |mainlabel=- | ||
+ | |?Subobject Of=Name | ||
+ | |?Tool Kind | ||
+ | |?Dimensions | ||
+ | |?Manufactured By=Manufacturer | ||
+ | |?Has Product ID=Product ID | ||
+ | |?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.