Difference between revisions of "User:Boris/Web resource template"

From "A B C"
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
+
All data are entered here into a non-displayed div and included in the output page by passing them to a template via the lst extension.
<div style="display: none">
 
  
<section begin=title />
+
This page uses the following templates:
Title...
+
*'''[[Template:WWW_resource_body]]''' ... the template for the body of the page
<section end=title />
+
*'''[[Template:WWW_resource_reference_section]]''' ... conditionally includes a pubmed box through the pmid extension
  
<section begin=file />
 
ImageFile...
 
<section end=file />
 
  
<section begin=url />
+
Use '''[[Special:Upload]]''' to upload jpgs.
URL...
 
<section end=url />
 
  
<section begin=abstract />
 
Abstract...
 
<section end=abstract />
 
  
<section begin=reference />
+
<pre>
{{WWW_resource_reference_section|pmid= }}
+
<div style="display: none">
<section end=reference />
 
  
<!-- DON'T EDIT BELOW -->
+
<section begin=title />Title...<section end=title />
  
 +
<section begin=file />ImageFile...<section end=file />
  
 +
<section begin=url />URL...<section end=url />
  
 +
<section begin=abstract />Abstract...<section end=abstract />
  
 +
<section begin=reference />{{WWW_resource_reference_section|pmid= }}<section end=reference />
  
 +
<!-- DON'T EDIT BELOW -->
  
 
</div>
 
<div id="BIO">
 
 
<table width="100%"><tr>
 
<td><div class="b1">
 
{{#lst:{{PAGENAME}}|title}}
 
</div></td>
 
<td width="400">
 
[[{{WWW_thumb|size=400px|file={{#lst:{{PAGENAME}}|file}}|link={{#lst:{{PAGENAME}}|url}}|text={{#lst:{{PAGENAME}}|title}}}}]]
 
</td>
 
</tr></table>
 
 
 
__NOTOC__
 
 
===URL===
 
{{#lst:{{PAGENAME}}|url}}
 
 
 
===Abstract===
 
{{#lst:{{PAGENAME}}|abstract}}
 
  
  
  
{{#lst:{{PAGENAME}}|reference}}
 
  
  
  
 
</div>
 
</div>
[[Category:Web_Resource]]
+
{{WWW_resource_body}}
 
</pre>
 
</pre>

Latest revision as of 22:05, 24 January 2012

All data are entered here into a non-displayed div and included in the output page by passing them to a template via the lst extension.

This page uses the following templates:


Use Special:Upload to upload jpgs.


<div style="display: none">

<section begin=title />Title...<section end=title />

<section begin=file />ImageFile...<section end=file />

<section begin=url />URL...<section end=url />

<section begin=abstract />Abstract...<section end=abstract />

<section begin=reference />{{WWW_resource_reference_section|pmid= }}<section end=reference />

<!-- DON'T EDIT BELOW -->







</div>
{{WWW_resource_body}}