Difference between revisions of "Template:Resource"

From WikiVet English
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{|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>'''{{{Name}}}'''</center></big>  
+
<div class="tpl-title"><big>{{{pagetitle|pagetitle}}}</big></div>
|-
+
<div class="tpl-body"><p style="text-align:center;"><b><big>[{{{Link}}} Click here to access the resource.]</big></b></p>
|-
+
<div class="tpl-content" style="margin-top: 0;">
|colspan="4"|
+
<div class="tpl-content-1 tpl-col">
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
+
<h2>Resource Information</h2>
|<p align="justify"><center><b><big>[{{{Link}}} Click here to access the resource.]</big></b></center></p align>
 
|}
 
|-
 
|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;">Resource Information</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
Line 38: Line 27:
 
{{ #if: {{{Licensing|{{{Licensing|}}}}}} | {{{Licensing|{{{Licensing|}}}}}} | <small>{{Cc-att-2.0 resource}}</small> }}
 
{{ #if: {{{Licensing|{{{Licensing|}}}}}} | {{{Licensing|{{{Licensing|}}}}}} | <small>{{Cc-att-2.0 resource}}</small> }}
 
|}
 
|}
 
+
</div>
|}
+
<div class="tpl-content-2 tpl-col tpl-col-logo">
|class="MainPageBG" style="width:45%; border:1px solid #cedff2; vertical-align:middle;background:#f5faff;"|
+
[[Image:{{{Image|}}}|link={{{Link}}}]]
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
+
</div>
!<br>
+
</div></div>
|-
+
</div>
|align="center"|{{#tag:imagemap|Image:{{#if:{{{Image|}}}|{{{Image|}}}|}}{{!}}center{{!}}300px
 
rect 0 0 1000 1000 [{{{Link}}} link to resource]
 
desc none}}
 
|}
 
|}
 
|-
 
|<span style="line-height:1;"><br></span>
 
|}
 
 
</includeonly>
 
</includeonly>
  

Revision as of 15:14, 8 December 2020



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

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