Difference between revisions of "Template:CapGrad"

From TSAS Library
Jump to: navigation, search
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Capstones
{{CapGrad
|Graduate=
|Graduate=
|Gradlast=
|Gradlast=
Line 31: Line 31:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Capstones|Graduate=String|Gradlast=String|Gradyear=Integer|Gradimage=File|Gradhouse=Page|Gradplans=List (,) of String|Gradadvice=String|Captype=Page|Capformat=Page|Capssubject=List (,) of Page|Capaward=Page|Capdiscipline=Page|Capdescription=String|Capshortdescrip=String|Capstonebegin=String|Capchange=String|Capreflection=String|Capimages=List (,) of File|Capvideos=List (,) of File|Cappresentation= String|Capdocument=File|Captext=Wikitext|Capfeaturedimage=File|Capadvisor=Page}}
{{#cargo_declare:_table=CapCapgrads|Graduate=String|Gradlast=String|Gradyear=Integer|Gradimage=File|Gradhouse=Page|Gradplans=List (,) of String|Gradadvice=String|Captype=Page|Capformat=Page|Capssubject=List (,) of Page|Capaward=Page|Capdiscipline=Page|Capdescription=String|Capshortdescrip=String|Capstonebegin=String|Capchange=String|Capreflection=String|Capimages=List (,) of File|Capvideos=List (,) of File|Cappresentation= String|Capdocument=File|Captext=Wikitext|Capfeaturedimage=File|Capadvisor=Page}}
</noinclude><includeonly>{{#default_form:Capstone}}{{#cargo_store:_table=Capstones|Graduate={{{Graduate|}}}|Gradlast={{{Gradlast|}}}|Gradyear={{{Gradyear|}}}|Gradimage={{{Gradimage|}}}|Gradhouse={{{Gradhouse|}}}|Gradplans={{{Gradplans|}}}|Gradadvice={{{Gradadvice|}}}|Captype={{{Captype|}}}|Capformat={{{Capformat|}}}|Capssubject={{{Capssubject|}}}|Capaward={{{Capaward|}}}|Capdiscipline={{{Capdiscipline|}}}|Capdescription={{{Capdescription|}}}|Capshortdescrip={{{Capshortdescrip|}}}|Capstonebegin={{{Capstonebegin|}}}|Capchange={{{Capchange|}}}|Capreflection={{{Capreflection|}}}|Capimages={{{Capimages|}}}|Capvideos={{{Capvideos|}}}|Cappresentation={{{Cappresentation|}}}|Capdocument={{{Capdocument|}}}|Captext={{{Captext|}}}|Capfeaturedimage={{{Capfeaturedimage|}}}|Capadvisor={{{Capadvisor|}}} }}{{{Capdescription|}}}
</noinclude><includeonly>{{#default_form:CapGrad}}{{#cargo_store:_table=CapGrads|Graduate={{{Graduate|}}}|Gradlast={{{Gradlast|}}}|Gradyear={{{Gradyear|}}}|Gradimage={{{Gradimage|}}}|Gradhouse={{{Gradhouse|}}}|Gradplans={{{Gradplans|}}}|Gradadvice={{{Gradadvice|}}}|Captype={{{Captype|}}}|Capformat={{{Capformat|}}}|Capssubject={{{Capssubject|}}}|Capaward={{{Capaward|}}}|Capdiscipline={{{Capdiscipline|}}}|Capdescription={{{Capdescription|}}}|Capshortdescrip={{{Capshortdescrip|}}}|Capstonebegin={{{Capstonebegin|}}}|Capchange={{{Capchange|}}}|Capreflection={{{Capreflection|}}}|Capimages={{{Capimages|}}}|Capvideos={{{Capvideos|}}}|Cappresentation={{{Cappresentation|}}}|Capdocument={{{Capdocument|}}}|Captext={{{Captext|}}}|Capfeaturedimage={{{Capfeaturedimage|}}}|Capadvisor={{{Capadvisor|}}} }}{{{Capdescription|}}}
<div class="flex-row row">{{#if: {{{Capdocument|}}} | {{#if: {{{Cappresentation|}}} {{{Capvideos|}}} {{{Capimages|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{{Capdocument|}}}</div> | {{{Capdocument|}}} }} }}{{#if: {{{Capvideos|}}} | {{#if: {{{Cappresentation|}}} {{{Capimages|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}}</div> | {{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}} }} }} {{#if: {{{Cappresentation|}}} | {{#if: {{{Capvideos|}}} {{{Capimages|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#widget:Google Presentation|docid={{{Cappresentation|}}}}}</div> | {{#widget:Google Presentation|docid={{{Cappresentation|}}}}} }} }} {{#if: {{{Capimages|}}} | {{#if: {{{Cappresentation|}}} {{{Capvideos|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#tag:gallery|{{#arraymap:{{{Capimages|}}}|,|x|x|\n}} }}</div> | {{#tag:gallery|{{#arraymap:{{{Capimages|}}}|,|x|x|\n}}|mode="slideshow"}} }} }}{{#if: {{{Captext|}}}|{{{Captext}}} }}</div>
<div class="flex-row row">{{#if: {{{Capdocument|}}} | {{#if: {{{Cappresentation|}}} {{{Capvideos|}}} {{{Capimages|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{{Capdocument|}}}</div> | {{{Capdocument|}}} }} }}{{#if: {{{Capvideos|}}} | {{#if: {{{Cappresentation|}}} {{{Capimages|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}}</div> | {{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}} }} }} {{#if: {{{Cappresentation|}}} | {{#if: {{{Capvideos|}}} {{{Capimages|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#widget:Google Presentation|docid={{{Cappresentation|}}}}}</div> | {{#widget:Google Presentation|docid={{{Cappresentation|}}}}} }} }} {{#if: {{{Capimages|}}} | {{#if: {{{Cappresentation|}}} {{{Capvideos|}}} {{{Capdocument|}}}| <div class="col-xs-12 col-md-6 col-lg-6">{{#tag:gallery|{{#arraymap:{{{Capimages|}}}|,|x|x|\n}} }}</div> | {{#tag:gallery|{{#arraymap:{{{Capimages|}}}|,|x|x|\n}}|mode="slideshow"}} }} }}{{#if: {{{Captext|}}}|{{{Captext}}} }}</div>
{{Infobox
{{Infobox

Revision as of 19:21, 3 May 2020

This is the "Capstone" template. It should be called in the following format:

{{CapGrad
|Graduate=
|Gradlast=
|Gradyear=
|Gradimage=
|Gradhouse=
|Gradplans=
|Gradadvice=
|Captype=
|Capformat=
|Capssubject=
|Capaward=
|Capdiscipline=
|Capdescription=
|Capshortdescrip=
|Capstonebegin=
|Capchange=
|Capreflection=
|Capimages=
|Capvideos=
|Cappresentation=
|Capdocument=
|Captext=
|Capfeaturedimage=
|Capadvisor=
}}

Edit the page to see the template text. This template defines the table "CapCapgrads". This table has not been created yet.