Actions

Archived talk

Upgrading and Migrating FAQs version 1.0

From Joomla! Documentation

Revision as of 07:47, 19 November 2008 by Jabama (Talk | contribs)

This page is a good source to replace the various individual Wiki templates used in most "info boxes". The wiki extension "Labeled Section Transclusion" (LST) seems suitable to replace the regular (limited) transclusion feature. Update/upgrade instruction pages could then use "LST" to fetch the content from a labeled section (= heading) only, i.e. using the #section-h template function:

{{#section-h: Upgrading and Migrating FAQs | What is a patch?}}

results in:

Wrapped in a wiki template, which also takes care of the "ambox info style", this can be reduced to:

{{update_faq | What is a patch? }}

and would transclude the content.

If an optional caption is provided it creates a link to the FAQ instead:

{{update_faq | What is a patch? | How to apply a patch package}}

Example renderings

{{update_faq|What is a patch?}}

Archived talk:Upgrading and Migrating FAQs version 1.0/update faq

{{update_faq|What is a patch?|How to apply a patch package}}

Archived talk:Upgrading and Migrating FAQs version 1.0/update faq

And here's the temporary "template" :update_faq. DON'T use it in production :)