Jump to content

Template:Work-in-progress page: Difference between revisions

From postmarketOS Wiki
Knuxify (talk | contribs)
mNo edit summary
Knuxify (talk | contribs)
remove quotes from class param
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template}} Template to include in WIP pages.
<noinclude>
{{Work-in-progress page|note=Add some notes about foo, clean up section about bar|nocategory=yes}}</noinclude>
{{Template}}
 
== Usage ==
 
Template to include on WIP pages to warn the user and give additional details as to what's currently in progress.
 
<pre><nowiki>{{Work-in-progress_page|note=Add some notes about foo, clean up section about bar}}
</nowiki></pre>
{{Work-in-progress_page|note=Add some notes about foo, clean up section about bar|nocategory=yes}}
 
Pages are added to [[:Category:Work-in-progress pages]] by default. To prevent that add the <code>nocategory=yes</code> argument:
 
<pre><nowiki>{{Work-in-progress_page|note=Add some notes about foo, clean up section about bar|nocategory=yes}}
</nowiki></pre>
 
</noinclude>
<includeonly>{{Icon box
<includeonly>{{Icon box
| box-icons = 🚧
| box-icons = 🚧
| box-text = '''This page is a work-in-progress.''' Some information contained within may be incorrect or incomplete.
| box-text = '''This page is a work-in-progress.''' Some information contained within may be inaccurate or incomplete.
{{#if: {{{note|}}}|<br>In particular: ''{{{note|}}}''|}}
{{#if: {{{note|{{{1|}}}}}}|<br>In particular: ''{{{note|{{{1|}}}}}}''|}}
| border-color = #C1B598
| border-color = #C1B598
| border-width = 2px
| border-width = 2px
| border-style = dotted
| border-style = dotted
| background = #E8E0CC
| background = #E8E0CC
| class = box-wip
}}{{#if: {{{nocategory|}}}||[[Category:Work-in-progress pages]]}}</includeonly>
}}{{#if: {{{nocategory|}}}||[[Category:Work-in-progress pages]]}}</includeonly>

Latest revision as of 06:50, 10 January 2025

This page is a template. It contains no postmarketOS-related information, but should be used as part of other articles.

Check out all pages using this template and feel free to discuss it in the gitlab issues.

For more information, read Templates and Template:Template.

Usage

Template to include on WIP pages to warn the user and give additional details as to what's currently in progress.

{{Work-in-progress_page|note=Add some notes about foo, clean up section about bar}}
🚧 This page is a work-in-progress. Some information contained within may be inaccurate or incomplete.
In particular: Add some notes about foo, clean up section about bar

Pages are added to Category:Work-in-progress pages by default. To prevent that add the nocategory=yes argument:

{{Work-in-progress_page|note=Add some notes about foo, clean up section about bar|nocategory=yes}}