Template:AuthorizationCourseInfo: Difference between revisions

From Pumping Station One
mNo edit summary
mNo edit summary
 
(79 intermediate revisions by the same user not shown)
Line 1: Line 1:
==={{{authorization_name}}}===
<table style="background: AliceBlue; border: 1px solid SteelBlue; width=100% ; margin: auto auto 1em auto;" align="center" ><tr><td style="background: SteelBlue; vertical-align: top; ">
{{sectionbegin|&lt;section begin="{{{authslug}}}" /&gt}}
<div style="font-size: 115%; font-weight: bold; color: white; padding-left: 4px; ">Authorization Course Info</div></td></tr>
{{sectionbegin|&lt;section end="{{{authslug}}}" /&gt}}
<tr><td style="vertical-align: top; padding: 4px 4px 0px 4px; ">
{{{sectionbegin}}
[[File:Authorization-required.png|250px|right|link=How Do I Get Authorized?]]
{{{authslug}}}
<span style="font-size: 150%; font-weight: bold; ">{{#if:{{{Authorization Course Name|}}}|{{{Authorization Course Name}}}|REQUIRED INFO MISSING}}</span><br>
<table style="background: AliceBlue; border: 1px solid SteelBlue; width=100% ; " align="center"><tr>
'''Authorizer''': {{#if:{{{Authorizer Name|}}}|{{{Authorizer Name}}}|REQUIRED INFO MISSING}}<br>'''Schedule Frequency''': {{#if:{{{Schedule Frequency|}}}|{{{Schedule Frequency}}}|REQUIRED INFO MISSING}}<br>{{#if:{{{Discord Channel Link|}}}|{{#if: {{{Discord Channel Name|}}}|'''Discord Channel''': [{{{Discord Channel Link}}} {{{Discord Channel Name}}}]|}}|}}{{#if:{{{Prerequisites|}}}|<br>'''Prerequisites''': {{{Prerequisites}}}|}}{{#if:{{{Step 1|}}}|<br>'''Step 1''': {{{Step 1}}}|}}{{#if:{{{Step 2|}}}|<br>'''Step 2''': {{{Step 2}}}|}}{{#if:{{{Step 3|}}}|<br>'''Step 3''': {{{Step 3}}}|}}{{#if:{{{Step 4|}}}|<br>'''Step 4''': {{{Step 4}}}|}}{{#if:{{{Step 5|}}}|<br>'''Step 5''': {{{Step 5}}}|}}{{#if:{{{Required Materials|}}}|<br>'''Required Materials''': {{{Required Materials}}}|}}{{#if:{{{Notes|}}}|<br>'''Notes''': {{{Notes}}}|}}{{#if:{{{Authorization Course Name|}}}|<br>'''Tools covered''': {{:Special:WhatLinksHere/Authorizations/{{{Authorization Course Name}}}}}|}}
<td style="background: SteelBlue; vertical-align: top; ">
<div class="mw-collapsible mw-collapsed" style="margin-top: -10px ; >
<span style="writing-mode: sideways-rl; font-size: 150%; font-weight: bold; color: white; margin-top: 8px; ">
  <div class="mw-collapsible-toggle" style="float: none;">
Authorization Info
  <span class="up">[[File:Cog-button.png|24px|right|link=]]</span>
</span></td>
  </div>
<td style="vertical-align: top; padding: 4px; ">
<div class="mw-collapsible-content">
[[File:Authorization-required.png|350px|link=How Do I Get Authorized?]]
<div style="text-align: right ; padding: 10px 0px 16px 0px ; ">[[Authorizations/{{{Authorization Course Name}}}|Edit this auth]]<br>Copy and paste this into the tool's wiki page <br>after the <span style="font-family: monospace ; " >Template:EquipmentPage</span> template.</div><div style="text-align: right ; "><span style="background: MistyRose ;  border: solid cadetblue ; border-radius: 40px ; padding: 4px 10px 4px 10px ; font-family: monospace ; text-align: right ; " ><nowiki>{{:Authorizations/</nowiki>{{{Authorization Course Name}}}<nowiki>}}</nowiki></span></div><div style="text-align: right ; padding: 10px 0px 16px 0px ; "><small><small>[[Authorizations/{{{Authorization Course Name}}}|Auth info]] last updated by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] on {{#timel: F d, Y | {{REVISIONTIMESTAMP}} }}.</small></small></div></div></div></td></tr></table><noinclude>
</td><td style="vertical-align: top; padding: 4px; ">
<span style="font-size: 150%; font-weight: bold; ">{{{authorization_name}}}</span><br>
'''Authorizer''': {{{authorizer}}}<br>'''Schedule Frequency''': {{{schedule_frequency}}}<br>{{#if:{{{discord_channel_link}}}|{{#if: {{{discord_channel_name}}}|'''Discord Channel''': [{{{discord_channel_link}}} {{{discord_channel_name}}}]<br>|}}|}}{{#if:{{{prerequisites}}}|'''Prerequisites''': {{{prerequisites}}}<br>|}}{{#if:{{{step1}}}|'''Step 1''': {{{step1}}}<br>|}}{{#if:{{{step2}}}|'''Step 2''': {{{step2}}}<br>|}}{{#if:{{{step3}}}|'''Step 3''': {{{step3}}}<br>|}}{{#if:{{{step4}}}|'''Step 4''': {{{step4}}}<br>|}}{{#if:{{{step5}}}|'''Step 5''': {{{step5}}}<br>|}}{{#if:{{{required_materials}}}|'''Required Materials''': {{{required_materials}}}<br>|}}
{{#if:{{{notes}}}|'''Notes''': {{{notes}}}|}}
</td></tr></table><br>
{{#tag:section
| end={{{authslug}}}
}}
<div class="mw-collapsible mw-collapsed"><div style="text-align: right ; margin-right: 8px ; ">Wiki snippet for admins:&#8196;</div><div class="mw-collapsible-content"><div style="text-align: right ; padding: 10px 0px 16px 0px ; ">'''{{{authorization_name}}}'''<br>Copy and paste this into the tool's wiki page<br>under the <span style="font-family: monospace ; " >Template:EquipmentPage</span> template.</div><div style="text-align: right ; "><span style="background: MistyRose ;  border: solid cadetblue ; border-radius: 40px ; padding: 4px 10px 4px 10px ; font-family: monospace ; text-align: right ; " ><nowiki>{{#lst:Authorizations|</nowiki>{{{authslug}}}<nowiki>}}</nowiki></span></div></div></div>
====Qualifies for following tools:====
[[Category:AuthorizationRequired/{{{authorization_name}}}]]
<DynamicPageList>
category = AuthorizationRequired/{{{authorization_name}}}
</DynamicPageList>
<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<templatedata>
{
"params": {
"Authorization Course Name": {
"description": "Name of the authorization course. Important: Must match the name of this page.",
"example": "Hot Air Balloon",
"required": true
},
"Authorizer Name": {
"description": "Name(s) of authorizer(s), preferably linked to their wiki user page where they can list off better contact info, like their Discord name.",
"example": "[[User:kai_hacker|Kai]]",
"required": true
},
"Schedule Frequency": {
"description": "When/how often does the authorization occurs.",
"example": "Roughly once a week, every third Monday, by request, etc",
"required": true
},
"Discord Channel Link": {
"description": "Right-click the channel name to get a link.",
"example": "https://discord.com/channels/1270929620224704544/1270938360394809489"
},
"Discord Channel Name": {
"description": "Name of channel.",
"example": "#aviation-club"
},
"Prerequisites": {
"description": "Any other auths the member needs to complete first, etc.",
"example": "Completed auth for [[Parachute]]"
},
"Step 1": {
"description": "Free text field to provide steps needed to complete.",
"example": "[https://canvas.pumpingstationone.org/courses/40 Complete the Canvas course]"
},
"Step 2": {
"description": "Free text field to provide steps needed to complete.",
"example": "Use Canvas to schedule with the next available in-person auth"
},
"Step 3": {
"description": "Free text field to provide steps needed to complete.",
"example": "Attend and complete in-person auth"
},
"Step 4": {
"description": "Free text field to provide steps needed to complete."
},
"Step 5": {
"description": "Free text field to provide steps needed to complete."
},
"Required Materials": {
"description": "Tools or gear the member should bring.",
"example": "Aviator goggles, cape, propane"
},
"Notes": {
"description": "Free text field to provide extra notes.",
"example": "Will be rescheduled if there's bad weather."
}
},
"description": "This template generates the blue Authorization Course Info box. Go to the \"Templates:Authorization Course Info\" page to find out how to insert this on tool pages. Important: The name of the current page you're inserting this template into must match the \"Authorization Page Name\" field.",
"paramOrder": [
"Authorization Course Name",
"Authorizer Name",
"Schedule Frequency",
"Discord Channel Name",
"Discord Channel Link",
"Prerequisites",
"Step 1",
"Step 2",
"Step 3",
"Step 4",
"Step 5",
"Required Materials",
"Notes"
]
}
</templatedata>
</noinclude>
</noinclude>