Difference between revisions of "Template:Build Guide"
From Autopilot Wiki
(26 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|Build Guide Type= | |Build Guide Type= | ||
|Short Description= | |Short Description= | ||
− | |||
− | |||
|Creator= | |Creator= | ||
|Version= | |Version= | ||
Line 19: | Line 17: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{#if:{{{Image|}}}| | + | {{{Materials|}}} |
+ | {{{Tools|}}} | ||
+ | {{#if: {{{Image|}}} | | ||
{{#set: | {{#set: | ||
− | Has Image=File:{{{Image|}}} | + | 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 | ||
| {{#arraymap:{{{Modality|}}}|,|x|[[Modality::x]]}} | | {{#arraymap:{{{Modality|}}}|,|x|[[Modality::x]]}} | ||
Line 35: | 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 47: | Line 50: | ||
! Submitted Date | ! Submitted Date | ||
| {{{Submitted Date|}}} | | {{{Submitted Date|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
+ | {{#if:{{{Image|}}}|</div></div>|}} | ||
+ | <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)|}}} | | ||
+ | === [[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]] === | === [[Materials]] === | ||
Line 70: | Line 82: | ||
|mainlabel=- | |mainlabel=- | ||
|?Subobject Of=Name | |?Subobject Of=Name | ||
− | |?Material | + | |?Material Quantity=Quantity |
− | |? | + | |?Material Dimensions=Dimensions |
− | |? | + | |?Manufactured By=Manufacturer |
− | |? | + | |?Has Product ID=Product ID |
− | |?Product | + | |?Has USD Price=Price |
− | |?Datasheet | + | |?Has Product Page=Page |
+ | |?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 | ||
}} | }} | ||
+ | |}} | ||
− | === [[ | + | {{#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.