diff options
Diffstat (limited to 'doc/yelp-xsl/C/mal2html.editor.badge.page')
-rw-r--r-- | doc/yelp-xsl/C/mal2html.editor.badge.page | 88 |
1 files changed, 76 insertions, 12 deletions
diff --git a/doc/yelp-xsl/C/mal2html.editor.badge.page b/doc/yelp-xsl/C/mal2html.editor.badge.page index 27f4fc7b..30067f68 100644 --- a/doc/yelp-xsl/C/mal2html.editor.badge.page +++ b/doc/yelp-xsl/C/mal2html.editor.badge.page @@ -1,12 +1,76 @@ -<?xml version="1.0"?> -<page xmlns="http://projectmallard.org/1.0/" id="mal2html.editor.badge" type="topic" style="xslt-template"><info><link type="guide" xref="mal2html-page" group="templates"/><link type="guide" xref="templates" group="mal2html"/><revision version="3.8" date="2012-11-05" status="final"/><desc>Output a badge for a link showing the revision status of the target.</desc></info><title>mal2html.editor.badge</title><p>Output a badge for a link showing the revision status of the target.</p> - - - <synopsis><title>Parameters</title><terms> - <item> - <title><code>target</code></title> - <p>The page or section being linked to.</p> - </item> - </terms></synopsis> - <p>This template may be called by link formatters to output a badge showing the revision status of the linked-to page or section. It only outputs a badge if <code style="xslt-param" xref="mal2html.editor_mode">mal2html.editor_mode</code> is <code>true</code>.</p> -<list style="compact"><title>Calls Templates</title><item><p><link xref="l10n.gettext"/></p></item></list><list style="compact"><title>Calls Parameters</title><item><p><link xref="mal2html.editor_mode"/></p></item></list></page> +<?xml version="1.0" encoding="utf-8"?> +<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" style="xslt-template" id="mal2html.editor.badge"> + <info> + <link type="guide" xref="mal2html-page" group="templates"/> + <link type="guide" xref="templates" group="mal2html"/> + <desc>Output a badge for a link showing the revision status of the target.</desc> + <revision version="3.8" date="2012-11-05" status="final"/> + </info> + <title>mal2html.editor.badge</title> + <synopsis> + <title>Parameters</title> + <terms> + <item> + <title><code>$target</code></title> + <p>The page or section being linked to.</p> + </item> + </terms> + </synopsis> + <p>This template may be called by link formatters to output a badge showing the + revision status of the linked-to page or section. It only outputs a badge if + <code xref="mal2html.editor_mode">mal2html.editor_mode</code> is <sys>true</sys>.</p> + <list style="compact"> + <title>Calls Parameters</title> + <item> + <p><link xref="color.bg"/></p> + </item> + <item> + <p><link xref="color.bg.blue"/></p> + </item> + <item> + <p><link xref="color.bg.gray"/></p> + </item> + <item> + <p><link xref="color.bg.red"/></p> + </item> + <item> + <p><link xref="color.bg.yellow"/></p> + </item> + <item> + <p><link xref="color.blue"/></p> + </item> + <item> + <p><link xref="color.fg"/></p> + </item> + <item> + <p><link xref="color.fg.blue"/></p> + </item> + <item> + <p><link xref="color.fg.dark"/></p> + </item> + <item> + <p><link xref="color.gray"/></p> + </item> + <item> + <p><link xref="color.red"/></p> + </item> + <item> + <p><link xref="color.yellow"/></p> + </item> + <item> + <p><link xref="mal.cache"/></p> + </item> + <item> + <p><link xref="mal.link.default_root"/></p> + </item> + <item> + <p><link xref="mal2html.editor_mode"/></p> + </item> + </list> + <list style="compact"> + <title>Calls Templates</title> + <item> + <p><link xref="l10n.gettext"/></p> + </item> + </list> +</page> |