Template: Capstone: Difference between revisions
From TSAS Library
JStallings (talk | contribs) No edit summary |
JStallings (talk | contribs) No edit summary |
||
Line 33: | Line 33: | ||
{{#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=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}} | ||
</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: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|}}} | ||
<div class="flex-row row">{{#if: {{{Capdocument|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Cappresentation|}}} {{{Captext|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{{Capdocument|}}}</div> | {{{Capdocument|}}} }} }} {{#if: {{{Capvideos|}}} | {{#if: {{{Capimages|}}} {{{Cappresentation|}}} {{{Capdocument|}}} {{{Captext}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}}</div> | {{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|center]]}} }} }} {{#if: {{{Cappresentation|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Capdocument|}}} {{{Captext}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{#widget:Google Presentation|docid={{{Cappresentation|}}}}}</div> | {{#widget:Google Presentation|docid={{{Cappresentation|}}}}} }} }} {{#if: {{{Captext|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Cappresentation|}}} {{{Capdocument|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{{Captext|}}}</div> | {{{Captext|}}} }} }} {{#if: {{{Capimages|}}} | {{#if: {{{Capvideos|}}} {{{Cappresentation|}}} {{{Capdocument|}}} {{{Captext|}}} | <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"}} }} }}</div> | <div class="flex-row row">{{#if: {{{Capdocument|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Cappresentation|}}} {{{Captext|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{{Capdocument|}}}</div> | {{{Capdocument|}}} }} }} {{#if: {{{Capvideos|}}} | {{#if: {{{Capimages|}}} {{{Cappresentation|}}} {{{Capdocument|}}} {{{Captext|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|450px|center]]}}</div> | {{#arraymap:{{{Capvideos|}}}|,|u|[[File:u|center]]}} }} }} {{#if: {{{Cappresentation|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Capdocument|}}} {{{Captext|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{#widget:Google Presentation|docid={{{Cappresentation|}}}}}</div> | {{#widget:Google Presentation|docid={{{Cappresentation|}}}}} }} }} {{#if: {{{Captext|}}} | {{#if: {{{Capimages|}}} {{{Capvideos|}}} {{{Cappresentation|}}} {{{Capdocument|}}} | <div class="col-xs-12 col-md-6 col-lg-6">{{{Captext|}}}</div> | {{{Captext|}}} }} }} {{#if: {{{Capimages|}}} | {{#if: {{{Capvideos|}}} {{{Cappresentation|}}} {{{Capdocument|}}} {{{Captext|}}} | <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"}} }} }}</div> | ||
{{Infobox | {{Infobox | ||
| bodystyle = border: 0px; background-color: #ffffff; margin-top:16px; | | bodystyle = border: 0px; background-color: #ffffff; margin-top:16px; |
Revision as of 09:13, 6 May 2020
This is the "Capstone" template. It should be called in the following format:
{{Capstones |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 "Capstones". View table.