Help:FAQ: Difference between revisions

From NixOS Wiki
imported>Wackbyte
m fix syntax highlighting by replacing non-functional lang="mediawiki" with lang="html+handlebars"
Klinger (talk | contribs)
 
Line 22: Line 22:
</li>
</li>
</ol>
</ol>
[[Category:Contributions]]

Latest revision as of 20:10, 2 September 2024

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}}{{#tweekihide:firstHeading}}<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.