Template:Chapter: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 12: Line 12:
<includeonly>
<includeonly>
__NOEDITSECTION__
__NOEDITSECTION__
{| class="wikitable" style="float:right;width:25%;margin-left: 40px;"
{| class="wikitable" style="float:right;width:40%;margin-left: 40px;"
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Has blueprint::{{{blueprint}}} ]]
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Has blueprint::{{{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}}|{{{blueprint}}}|600px|x200px]] {{#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|[[x]]| <br> }} {{#arraymap:{{{sectors}}}|,|x|{{#set: Has sector=x}}|}} {{#arraymap:{{{authors}}}|,|x|{{#set: Has author=x}}|}}
|-
|-
| 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>Chapters</b> || style="font-size:9pt" | [[Has chapter::{{{chapter}}}| ]]  
| style="font-size:9pt;width:100px" | <b>Topics</b> || style="font-size:9pt" | <!--[[In chapter::{{{chapter}}}| ]] {{#ifeq: {{{blueprint}}} | All | {{#ask: [[Category:Chapter]] |?title |limit=200 |format=ol |sort=In chapter }} |}}-->
{{#ifeq: {{{blueprint}}} | All | {{#ask: [[Category:Chapter]] |?title |limit=200 |format=ol |sort=Has chapter }} |}}
{{#ask:
{{#ask:
[[Category:Chapter]]
[[Category:Chapter]]
Line 30: Line 29:
|?title
|?title
|format=Ul
|format=Ul
|sort=Has chapter
|sort=
}}
}}
|-
|-

Latest revision as of 17:42, July 31, 2023

{{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
}}