Template:Chapter: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right;width:400px"
{| class="wikitable" style="float:right;width:400px"
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Has blueprint::{{{blueprint}}}]]
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Has blueprint::{{{sectors}}}]] {{#set: Has sector={{{sectors}}}}}
<!--|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{#ask:  [[Category:Sector]] [[Has sector::{{{blueprint}}}]] |?Has image= |mainlabel=-}}|400px|link=Blueprint]]-->
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" |[[File:{{#if:{{{image|}}} |{{{image|}}}|Chapter.jpg}}|400px|{{{blueprint}}}]] {{#set: Has image={{{image}}}}}
| colspan="2" style="text-align:center;font-size:9pt" |[[File:{{#if:{{{image|}}} |{{{image|}}}|Chapter.jpg}}|400px|{{{sector}}}]] {{#set: Has image={{{image}}}}}
|-
|-
| colspan="2" style="background:ltgrey;text-align:center;font-size:9pt" |
| colspan="2" style="background:ltgrey;text-align:center;font-size:9pt" |
|-
|-
| style="font-size:9pt;width:100px" | <b>Sectors</b> || style="font-size:9pt" | {{#arraymap:{{{sectors|}}}|,|x|[[Has sector::x]]| <br> }} {{#arraymap:{{{authors}}}|,|x|{{#set: Has author=x}}|}}
| style="font-size:9pt;width:100px" | <b>Sectors</b> || style="font-size:9pt" | {{#arraymap:{{{sectors|}}}|,|x|[[Has sector::x]]| <br> }} {{#arraymap:{{{authors}}}|,|x|{{#set: Has author=x}}|}}
<!--|-
| style="font-size:9pt;width:100px" | <b>Authors</b> || style="font-size:9pt" | {{#arraymap:{{{authors}}}|,|x|{{#set: Has author=x}}|}} {{#arraymap:{{{authors|}}}|,|x|[[x]]|<br>}}-->
|-
|-
| style="font-size:9pt;width:100px" | <b>Contact</b> || style="font-size:9pt" | [[Has contact::{{{poc}}}| ]] [[Has email::{{{email}}}| ]] [[{{{poc}}}]]
| style="font-size:9pt;width:100px" | <b>Contact</b> || style="font-size:9pt" | [[Has contact::{{{poc}}}| ]] [[Has email::{{{email}}}| ]] [[{{{poc}}}]]
<!--|-
| style="font-size:9pt;width:100px" | <b>Blueprint PDF</b> || style="font-size:9pt" | [[Media:{{{document}}}|{{{blueprint}}}]] [[Has blueprint pdf::{{{document}}}| ]]-->
|-
|-
| style="font-size:9pt;width:100px" | <b>{{{blueprint}}} Chapters</b> || style="font-size:9pt" | [[Has chapter::{{{chapter}}}| ]]
| style="font-size:9pt;width:100px" | <b>{{{sector}}} Chapters</b> || style="font-size:9pt" | [[Has chapter::{{{chapter}}}| ]]
{{#ask:
{{#ask:
[[Category:Chapter]]
[[Category:Chapter]]
[[Has sector::{{{blueprint}}}]]
[[Has sector::{{{sector}}}]]
|?title
|?title
|format=ol
|format=ol

Revision as of 20:08, July 14, 2022

{{Chapter
| blueprint = Name of the blueprint
| sectors = Utility, Transportation, Buildings, etc.
| authors = Authors
| poc = point of contact
| email = email address of point of contact
| document = PDF version of this blueprint
| chapter = Integer Sequence number to order chapters
}}