1234567891011121314151617181920212223242526272829303132 |
- This is a template for use in tag pages. It lists the pages tagged by the tag
- in chronological order. It's useful for filtering news feeds, blogs, etc. For
- general name-based listing, see the [[wikitag]] template. Parameters:
- - `settitle`: If set (e.g. to "yes"), the page title is set using the meta
- directive. If the template is the only thing only thing in the
- tag page, it's probably useful. Otherwise, probably not. If not
- set, the same text is inserted into the the page before the list,
- instead of in the title.
- (default: no)
- - `pages`: If set, pick only pages which patch this pagespec. Otherwise, take
- from the entire wiki. (default: entire wiki)
- [[!templatebody <<ENDBODY
- <TMPL_IF settitle>
- [[!meta title="Pages tagged <TMPL_VAR PAGE>"]]
- <TMPL_ELSE>
- Pages tagged <TMPL_VAR PAGE>:
- </TMPL_IF>
- [[!inline
- <TMPL_IF pages>
- pages="<TMPL_VAR raw_pages> and tagged(.)"
- <TMPL_ELSE>
- pages="tagged(.)"
- </TMPL_IF>
- actions=no
- archive=yes
- show=0
- feedshow=10]]
- ENDBODY]]
|