Difference between revisions of "Template:CapGrad"
From TSAS Library
JStallings (talk | contribs) (Removed logic; gave all 1/2 width.) |
JStallings (talk | contribs) |
||
Line 32: | Line 32: | ||
{{#cargo_declare:_table=CapGrads|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|Capfeaturedimage=File|Capadvisor=Page}} | {{#cargo_declare:_table=CapGrads|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|Capfeaturedimage=File|Capadvisor=Page}} | ||
</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|}}}|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|}}}|Capfeaturedimage={{{Capfeaturedimage|}}}|Capadvisor={{{Capadvisor|}}} }}{{{Capdescription|}}} | ||
<div class="flex-row row"> | <div class="flex-row row">{{#if:{{{Capvideos|}}}|<div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px]]}}</div>}}{{#if:{{{Capimages|}}}|{{#tag:gallery|<div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capimages|}}}|,|x|x|\n}}|mode="slideshow"}}</div>}}{{#if:{{{Cappresentation|}}}|<div class="col-xs-12 col-md-6 col-lg-6">{{#widget:Google Presentation|docid={{{Cappresentation|}}}}}</div>}}</div>{{Infobox | ||
</div>{{Infobox | |||
| bodystyle = border: 0px; background-color: #ffffff; | | bodystyle = border: 0px; background-color: #ffffff; | ||
| titlestyle = display: none; | | titlestyle = display: none; |
Revision as of 13:05, 29 April 2020
This is the "CapGrad" 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= |Capfeaturedimage= |Capadvisor= }}
Edit the page to see the template text. This template defines the table "CapGrads". View table.