Jump to content

Help:FAQ: Difference between revisions

From NixOS Wiki
Klinger (talk | contribs)
m Tweeki cleanup
 
Line 8: Line 8:
<li>Include the whole content of the entry, wrap this way:
<li>Include the whole content of the entry, wrap this way:
<syntaxhighlight lang="html+handlebars">
<syntaxhighlight lang="html+handlebars">
{{FAQ/breadcrumb}}{{#tweekihide:firstHeading}}<onlyinclude>
{{FAQ/breadcrumb}}<onlyinclude>
== How can I install a proprietary or unfree package? ==
== How can I install a proprietary or unfree package? ==
... page contents here. ...
... page contents here. ...

Latest revision as of 16:43, 17 April 2025

⚠︎
Warning: This is NOT the FAQ. This is for wiki page authors. Follow this link to go to the FAQ.

Splitting a FAQ entry into a sub-page

This is done in four steps:

  1. Create the new page using the "short" URL. (FAQ/unfree, FAQ/Libraries)
  2. Include the whole content of the entry, wrap this way:
    {{FAQ/breadcrumb}}<onlyinclude>
    == How can I install a proprietary or unfree package? ==
    ... page contents here. ...
    </onlyinclude>
    
  3. Transclude the page (prefer using the short link)
    {{:FAQ/unfree}}
    
  4. Move the page from the short to the full title link.