diff options
author | Shaun McCance <shaunm@gnome.org> | 2020-08-08 13:59:58 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2020-08-08 13:59:58 +0000 |
commit | 5bfea4acd826e7e66ae3b979f0402623d7f76330 (patch) | |
tree | 451e3ae2c3c568031b31a469a5b26b805269e1b5 /templates/reference.page | |
parent | 79067c7a2f194d4524e093698bb03a608c2ab8dc (diff) | |
parent | 20c1b7e84f0c5d1b297e1177ce9bcc78cc483eb6 (diff) | |
download | yelp-tools-5bfea4acd826e7e66ae3b979f0402623d7f76330.tar.gz |
Merge branch 'new-templates' into 'master'
New templates
See merge request GNOME/yelp-tools!4
Diffstat (limited to 'templates/reference.page')
-rw-r--r-- | templates/reference.page | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/templates/reference.page b/templates/reference.page new file mode 100644 index 0000000..c7364ee --- /dev/null +++ b/templates/reference.page @@ -0,0 +1,99 @@ +<?yelp-tmpl-desc Lists or tables of information for quick lookup?> +<page xmlns="http://projectmallard.org/1.0/" + type="topic" style="reference" version="1.1" + id="@ID@"> + <info> + <!-- + Recommended statuses: stub incomplete draft outdated review candidate final + Remove version attributes you don't use. + --> + <revision version="0.1" docversion="0.1" pkgversion="0.1" date="@DATE@" status="stub"/> + + <credit type="author copyright"> + <name>@NAME@</name> + <email>@EMAIL@</email> + <years>@YEAR@</years> + </credit> + + <!-- + This puts a link to this topic on the index page. + Change the xref to link it from another guide. + --> + <link type="guide" xref="index"/> + + <!-- + Think about whether other pages should be in the seealso list. + The target page will automatically get a seealso link back. + <link type="seealso" xref="someotherid"/> + --> + + <!-- + Think about whether external resources should be in the seealso + list. These require a title. + <link type="seealso" href="http://someurl"> + <title>Link title</title> + </link> + --> + + <desc>Write a short page description here.</desc> + + <keywords>comma-separated list, of keywords, for search</keywords> + </info> + + <title>@TITLE@</title> + + <p>Optionally provide introductory text. + Use terms lists, tables, and bullet lists for reference material.</p> + + <terms> + <title>Example terms list (title optional)</title> + <item> + <title>Term 1</title> + <para>Description</para> + </item> + <item> + <title>Term 2</title> + <p>Terms can have multiple paragraphs.</p> + <screen>Or any other block element.</screen> + </item> + <item> + <title>Term 3.1</title> + <title>Term 3.2</title> + <p>Terms can also have multiple titles.</p> + </item> + </terms> + + <table> + <title>Example table (title optional)</title> + <thead> + <tr> + <th>Column 1</th> + <th>Column 2</th> + </tr> + </thead> + <tbody> + <tr> + <td>Row 1, column 1</td> + <td>Row 1, column 2</td> + </tr> + <tr> + <td>Row 2, column 1</td> + <td>Row 2, column 2</td> + </tr> + </tbody> + </table> + + <list> + <title>Example list (title optional)</title> + <item><p>Item 1</p></item> + <item> + <p>Item 2</p> + <list> + <item><p>Subitem 2.1</p></item> + <item><p>Subitem 2.2</p></item> + </list> + </item> + <item><p>Item 3</p></item> + </list> + +</page> |