Difference between revisions of "Template:Resource"

From WikiVet English
Jump to navigation Jump to search
(Add VimeoID to embed videos)
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center"
+
<includeonly>
|-
+
<div class="frontpage-tpl">
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''Bovine Clinical Section'''</center></big>  
+
<div class="tpl-title"><big>{{{Name}}}</big></div>
|-
+
<div class="tpl-body">
|-
+
{{ #if: {{{Link|{{{Link|}}}}}} | <p style="text-align:center;"><b><big>[{{{Link}}} Click here to access the resource.]</big></b></p> | }}
|colspan="4"|
+
{{ #if: {{{VimeoID|{{{VimeoID|}}}}}} | {{#evt:service=vimeo|id={{{VimeoID}}}|alignment=center}} | }}
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
+
<div class="tpl-content" style="margin-top: 0;">
|<p align="justify"><center>Welcome to the Bovine Clinical Section. Here we aim to cover all aspects of bovine medicine and surgery. We also aim to cover all aspects of herd health and management that is clinically appropriate. </center></p align>
+
<div class="tpl-content-1 {{ #if: {{{VimeoID|{{{VimeoID|}}}}}} ||tpl-col|}}">
|}
+
<h2>Resource Information</h2>
|-
 
|colspan="4" align="center"|<!---------------------------Main content------------------------>
 
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
 
|class="MainPageBG" style="width:50%; border:1px solid #cef2e0; background:#f5faff; vertical-align:top; color:#000;"|
 
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 
! <h2 id="mp-tfa-h2" style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Content</h2>
 
|-
 
|style="color:#000;" align="left"|
 
 
 
 
{| summary="Wm-license-information-table-summary" class="toccolours vevent" style="width: 100%;" cellpadding="2"
 
{| summary="Wm-license-information-table-summary" class="toccolours vevent" style="width: 100%;" cellpadding="2"
 
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
 
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
 
|<span class="summary" style="display:none">{{PAGENAME}}</span>
 
|<span class="summary" style="display:none">{{PAGENAME}}</span>
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
+
{{ #if: {{{Description|{{{Description|}}}}}} | {{{Description|{{{Description|}}}}}} | {{Description missing}} }}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
 
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
 
|  
 
|  
{{ #if: {{{date|{{{Date|}}}}}} |{{{Date|}}}| {{Date missing}} }}
+
{{ #if: {{{Date|{{{Date|}}}}}} |{{{Date|Date|}}}| {{Date missing}} }}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
 
|
 
|
{{ #if: {{{source|{{{Source|}}}}}} |{{{Source|}}}| {{Source missing}} }}
+
{{ #if: {{{Source|{{{Source|}}}}}} |{{{Source|Source|}}}| {{Source missing}} }}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
 
|
 
|
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
+
{{ #if: {{{Author|{{{Author|}}}}}} | {{{Author|{{{Author|}}}}}} | {{Author missing}} }}
 +
|- valign="top"
 +
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_lic" | Licensing
 +
|
 +
{{ #if: {{{Licensing|{{{Licensing|}}}}}} | {{{Licensing|{{{Licensing|}}}}}} | <small>{{Cc-att-2.0 resource}}</small> }}
 
|}
 
|}
 +
</div>
 +
{{ #if: {{{VimeoID|{{{VimeoID|}}}}}} ||
 +
<div class="tpl-content-2 tpl-col tpl-col-logo">
 +
[[Image:{{{Image|}}}|link={{{Link}}}]]
 +
</div>
 +
| }}
 +
</div></div>
 +
</div>
 +
</includeonly>
  
 +
<noinclude>
  
 
+
To use this template insert the following information. (case sensitive)
 
+
<big>
 
+
<pre>
|}
+
{{Resource
|class="MainPageBG" style="width:45%; border:1px solid #cedff2; vertical-align:middle;background:#f5faff;"|
+
|Name =
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
+
|Link = (for exapmle: www.rvc.ac.uk)
!<br>
+
|VimeoID = (for exapmle: 177680793)
|-
+
|Description = '''Type''' e.g. video <br> What is the resource about <br> duration if applicable
|align="center"|[[Image:{{#if:{{{Image|}}}|{{{Image|}}}|UserPage.png}}|120px|{{{Name|No Name}}}]]<br><center><sup>{{#if:{{{Image|}}}||[[Help:Personalise User Page#Change Image|Change Image]]}}</sup></center>
+
|Source =
|}
+
|Date =
|}
+
|Author =
|-
+
|Licensing =
|<span style="line-height:1;"><br></span>
+
|Image =
|}
+
}}
 +
</pre>
 +
</big>
 +
</noinclude>

Latest revision as of 14:10, 20 January 2021



To use this template insert the following information. (case sensitive)

{{Resource
|Name = 
|Link = (for exapmle: www.rvc.ac.uk)
|VimeoID = (for exapmle: 177680793)
|Description = '''Type''' e.g. video <br> What is the resource about <br> duration if applicable
|Source = 
|Date = 
|Author = 
|Licensing =
|Image =
}}