Login
· Today
?
· ID#0
Help/Macros
Home
·
Recent
·
Index
·
View
· Talk
?
·
δεοχψ
Search
WordIndex
FullIndex
SizeIndex
Orphans
UserList
Visitors
Changes
all
minor
major
Analysis
History
Raw
Print
Read-only
Random
Randomlist
Help
Stats
Version
Subpage :
Help
>
Macros
Difference
(
minor diff
,
author diff
)
Added
Changed
Deleted
Prior major revision
Current Revision
=
#
Macros
=
'''''Embed dynamic lists, variables, and other commands in pages.'''''
<toc>
,,
,,
== * Page Redirect ==
Use the following command to automatically redirect viewers from one wiki page to another:
<no>#REDIRECT NewPageName</no>
The command must start at the first character of the first line of the page. REDIRECT must be in FULL CAPS. When the page containing the command is viewed, the <no>NewPageName</no> will be viewed instead. Redirections are not recursive: only the first redirection will be used. To edit the redirected page, view the redirected page, then click the link in the redirection notice at the top of the page.--~~From UseMod:PageRedirect~~
----
== * Variable Substitution ==
The following variables are available for substitution.
|| '''Variable''' || '''Description''' || '''Example''' ||
|| !@PAGE@ || Current page name || @PAGE@ ||
|| @DATE@ || Current date || 2005-02-14 ||
|| @TIME@ || Current time || 10:22 ||
|| @DATETIME@ || Current date and time || 2005-02-14 ^10:22^ ||
|| @ME@ || Signature || --Username ||
|| @SIG@ || Dated Signature || --Username ~~2005-02-14~~ ^10:22^ ||
|| @PRO@ || Forum Profile || Shortcut for InterWiki <no>Profile:Username</no>||
|| @YOU@ || Whoever is reading the page || Username ||
|| @RAM@ || See /Media || Play this page as a RAM playlist ||
|| @M3U@ || See /Media || Play this page as an MP3 playlist ||
~~(ME and SIG are not linked to your User/ page. Use MEE and SIGG to link up <no>User/Username</no>.)~~
----
== * RSS Feeds ==
The following tag includes an RSS feed as a simple linked list.,,
~~(Quotes are optional)~~
<pre><rss url="http://deoxy.org/forum/rssforum.pl"></pre>
----
== * [[Deoxy/News]] ==
This tag includes a [Local:Deoxy/News deoxy news feed] as a simple linked list.,,
~~(Quotes are optional)~~
<pre><news feed="feedname"></pre>
----
== * MAGIC ==
The #MAGIC tag embeds a special list or object in a page. Put the tag where you want the list to appear and make sure that line contains only the MAGIC tag. One MAGIC tag per document is supported except for <no>Deoxy/Video</no> and Chatter, which may co-exist on the same page with a second tag.
----
<blockquote>
=== * Wiki Subpage Index ===
For example, to embed a menu for all Wiki/ subpages:
#MAGIC <no>SubpageIndex</no> id=Wiki/
To embed a menu for the current page (non-subpages):
#MAGIC <no>SubpageIndex</no> id=%%this%%
----
=== * Wiki Search Results ===
To search for "wiki" in titles and pages:
#MAGIC Search q=wiki
Search for "wiki" in page titles:
#MAGIC Search in=title q=wiki
Search for "wiki" in pages only:
#MAGIC Search in=page q=wiki
----
=== * [[Deoxy/Video]] ===
Embed a frame with deoxy video index, search results or image grid.
==== Search results ====
Single keyword:
#MAGIC Videx q=DNA
Multiple terms:
#MAGIC Videx q="DNA OR biology OR cell"
Use single quotes to contain a query with double quotes:
#MAGIC Videx q='DNA OR "cell biology" OR RNA'
==== Index ====
Embed the video index (Deoxy:videx) default lists.
Recently added videos:
#MAGIC Videx
Recently watched:
#MAGIC Videx show=seen
Random:
#MAGIC Videx show=rand
----
==== * Images ====
Our image-based video index (Deoxy:vidimg) can also be embedded.
Recently added videos:
#MAGIC Vidimg
Recently watched:
#MAGIC Vidimg show=seen
Random:
#MAGIC Vidimg show=rand
==== Extra Display Options ====
<ul>
'''Line'''
Limit the height to a single image with horizontal scroll ([Deoxy:nu.htm example]):
#MAGIC Vidimg line=h
Limit the width to a single image with vertical scroll. The height is fixed at 3 images. The ''align'' option described below is useful here:
#MAGIC Vidimg line=v align=right
'''Cols'''
Limit the width of the embed to 3 or 4 images, both 3 images high, producing either a 3x3 box of 9 images or a 4x3 box of 12 images.
#MAGIC Vidimg cols=3 align=right
'''Align'''
Left, right, center.
</ul>
==== Combine ====
Options can be combined:
#MAGIC Vidimg line=v show=rand align=right
----
=== * [[Chatter]] ===
To embed chatter:
#MAGIC Chatter
</blockquote>
----
== * Import ==
Import the named page from a given site. Currently supported sites: wikipedia.,,
~~(Quotes are optional)~~
<import from="wikipedia" page="Psyche">