Difference between revisions of "Template:Resource"

From WikiVet English
Jump to navigation Jump to search
(Add VimeoID to embed videos)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|border="2" width="100%" align="left" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show"
+
<includeonly>
|width="100%" bgcolor="#F2F2F2" colspan="2"|<big><b>{{{Name|No Name}}}'s Page</b></big>
+
<div class="frontpage-tpl">
|rowspan="5"|[[Image:{{#if:{{{Image|}}}|{{{Image|}}}|UserPage.png}}|200px|{{{Name|No Name}}}]]<br>
+
<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> | }}
 +
{{ #if: {{{VimeoID|{{{VimeoID|}}}}}} | {{#evt:service=vimeo|id={{{VimeoID}}}|alignment=center}} | }}
 +
<div class="tpl-content" style="margin-top: 0;">
 +
<div class="tpl-content-1 {{ #if: {{{VimeoID|{{{VimeoID|}}}}}} ||tpl-col|}}">
 +
<h2>Resource Information</h2>
 +
{| 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
 +
|<span class="summary" style="display:none">{{PAGENAME}}</span>
 +
{{ #if: {{{Description|{{{Description|}}}}}} | {{{Description|{{{Description|}}}}}} | {{Description missing}} }}
 +
|- valign="top"
 +
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
 +
|
 +
{{ #if: {{{Date|{{{Date|}}}}}} |{{{Date|Date|}}}| {{Date missing}} }}
 +
|- valign="top"
 +
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Source
 +
|
 +
{{ #if: {{{Source|{{{Source|}}}}}} |{{{Source|Source|}}}| {{Source missing}} }}
 +
|- valign="top"
 +
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Author
 +
|
 +
{{ #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)
{{#if: {{{source<includeonly>|</includeonly>}}} |
+
<big>
! width="85" {{!}} Source
+
<pre>
{{!}} {{{source}}}
+
{{Resource
{{!}}-
+
|Name =
}}
+
|Link = (for exapmle: www.rvc.ac.uk)
{{#if: {{{link<includeonly>|</includeonly>}}} |
+
|VimeoID = (for exapmle: 177680793)
! Link
+
|Description = '''Type''' e.g. video <br> What is the resource about <br> duration if applicable
{{!}} {{{[link]}}}
+
|Source =
{{!}}-
+
|Date =
 +
|Author =
 +
|Licensing =
 +
|Image =
 
}}
 
}}
{{#if: {{{length<includeonly>|</includeonly>}}} |
+
</pre>
! Length
+
</big>
{{!}} {{{length}}}
+
</noinclude>
{{!}}-
 
}}
 
{{#if: {{{description<includeonly>|</includeonly>}}} |
 
! Description
 
{{!}} {{{description}}}
 
{{!}}-
 
}}
 
 
 
|}
 

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 =
}}