From 9aa42fb40253604397b0a7a2c14e26fc57c09a69 Mon Sep 17 00:00:00 2001 From: preecej Date: Fri, 1 Jul 2011 00:33:29 +0000 Subject: [PATCH] More wiki source code. svn path=/; revision=108 --- preecej/semantic_wiki/forms/Source.wiki | 41 +++++++++++++++++++++ preecej/semantic_wiki/templates/Source.wiki | 38 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 preecej/semantic_wiki/forms/Source.wiki create mode 100644 preecej/semantic_wiki/templates/Source.wiki diff --git a/preecej/semantic_wiki/forms/Source.wiki b/preecej/semantic_wiki/forms/Source.wiki new file mode 100644 index 0000000..2dc68a0 --- /dev/null +++ b/preecej/semantic_wiki/forms/Source.wiki @@ -0,0 +1,41 @@ + +This is the "Source" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=Source}} + + + +{{{info|page name=Source:}}} + +{{{for template|Source}}} +{| class="formtable" +! Accession ID: +| {{{field|Accession ID}}} +|- +! Source Date Stamp: +| {{{field|Source Date Stamp}}} +|- +! Source Database: +| {{{field|Source Database}}} +|- +! Source Version: +| {{{field|Source Version}}} +|- +! Source URI: +| {{{field|Source URI}}} +|- +! Source File: +| {{{field|Source File}}} +|} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/templates/Source.wiki b/preecej/semantic_wiki/templates/Source.wiki new file mode 100644 index 0000000..9aa3ea2 --- /dev/null +++ b/preecej/semantic_wiki/templates/Source.wiki @@ -0,0 +1,38 @@ + +This is the "Source" template. +It should be called in the following format: +
+{{Source
+|Accession ID=
+|Source Date Stamp=
+|Source Database=
+|Source Version=
+|Source URI=
+|Source File=
+}}
+
+Edit the page to see the template text. +
+{| class="wikitable" +! Accession ID +| [[Has Accession ID::{{{Accession ID|}}}]] +|- +! Release Date +| [[Has Date Stamp::{{{Source Date Stamp|}}}]] +|- +! Data Source +| [[Has Source Database::{{{Source Database|}}}]] +|- +! Version +| [[Has Source Version::{{{Source Version|}}}]] +|- +! Web Address +| [[From Source URI::{{{Source URI|}}}]] +|- +! File +| [[From Source File::{{{Source File|}}}]] +|} + +[[Category:Sources]] + + -- 2.34.1