Difference between revisions of "Template:Document"

From Organic Design wiki
(current and permalink)
(Imported from work.organicdesign.co.nz by sync-wikiorg.pl)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{info|This template should be included within any article which is a complete document. The article title should be the same as the title of its corresponding book.<br>Articles which use this template are automatically categorised into [[:Category:Documents]].}}</noinclude>
+
<noinclude>[[Category:Records]]{{portal}}</noinclude><includeonly>[[Category:Documents]]{{#if:{{{Author|}}}|[[Category:Articles readable by {{{Author}}}]]}}{{#if:{{{Contributors|}}}|{{MultiCat|{{{Contributors}}}|Articles readable by $1}}}}{{#if:{{{External|}}}|{{MultiCat|{{{External}}}|Articles readable by $1}}}}</includeonly>
{{Wbox|name=Document: {{PAGENAME}}|content=
+
{{Clear}}<html>
{{sbo}}{{!}}cellspacing=0 cellpadding=5 border=0
+
<script type='text/javascript'>
{{!}}-
+
<!--
{{!}}'''Author: '''{{!!}}{{{author}}}
+
function toggle_visibility(id) {
{{!}}-
+
  var e = document.getElementById(id);
{{!}}'''Current URL: '''{{!!}}{{{current}}}
+
  e.style.display = e.style.display == 'none' ? 'block' : 'none';
{{!}}-
+
  var e = document.getElementById(id+'_click');
{{!}}'''Permalink: '''{{!!}}{{{permalink}}}
+
}
{{!}}-
+
//-->
{{!}}'''Date: '''{{!!}}{{{date}}}
+
</script>
{{!}}-
+
<div class="tabset">
{{!}}'''Keywords: '''{{!!}}{{{keywords}}}
+
<fieldset>
{{!}}{{sbc}}
+
<legend>General</legend>
}}
+
</html>
<includeonly>[[Category:Documents]]</includeonly><noinclude>[[Category:Organisational templates|{{PAGENAME}}]]</noinclude>
+
{| class="ra_infobox"
 +
|-
 +
| [[File:Document.svg|48px|Document.svg]]
 +
| '''{{PAGENAME}}'''
 +
|}
 +
{| class="template_maintable" style="padding-top:0;" |
 +
|-
 +
|
 +
{{Action|Document.svg|{{NewRecordLink|Create a new document|Document|Author|{{{CURRENTPERSON}}}}}}}
 +
|-
 +
|
 +
{{Action | Document.svg | [[:Category:Documents|Go to the Documents Portal]] }}
 +
|}
 +
{| class="template_maintable" |
 +
|-
 +
! '''Status:'''
 +
| {{{Status|''None entered''}}}
 +
|-
 +
! '''Author:'''  
 +
| [[{{{Author|}}}]]
 +
|-
 +
! Category:
 +
| {{#if:{{{Category|}}}|[[{{{Category|}}}]]|''None entered''}}
 +
|-
 +
! '''Info/Purpose:'''
 +
| {{{Purpose|''None entered''}}}
 +
|-
 +
! Organisation:
 +
| {{#if:{{{Organisation|}}}|[[{{{Organisation|}}}]]|''None entered''}}
 +
|-
 +
! Project:
 +
| {{#if:{{{Project|}}}|[[{{{Project|}}}]]|''None entered''}}
 +
|-
 +
! Contributors:
 +
| {{#if:{{{Contributors|}}}|{{MultiSelectLinks|{{{Contributors|}}}}}|''None entered''}}
 +
|-
 +
! External contributors:
 +
| {{#if:{{{External|}}}|{{MultiSelectLinks|{{{External|}}}}}|''None entered''}}
 +
|}
 +
<html>
 +
</fieldset>
 +
</div>
 +
</html>

Latest revision as of 04:25, 23 July 2010

General
Document.svg Document
Status: None entered
Author: [[]]
Category: None entered
Info/Purpose: None entered
Organisation: None entered
Project: None entered
Contributors: None entered
External contributors: None entered