User talk:CorrettoSambuca/DesignsTestPage: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "First of many issues: How do I limit the table of contents to level 3 or lower headers? <nowiki>{{toclimit|limit=3}}<nowiki> does not seem to work... That template does not ex...")
 
(replaced red link with external link)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
First of many issues:
First of many issues:
How do I limit the table of contents to level 3 or lower headers? <nowiki>{{toclimit|limit=3}}<nowiki> does not seem to work... That template does not exist. What am I supposed to use?
How do I limit the table of contents to level 3 or lower headers? <nowiki>{{toclimit|limit=3}}</nowiki> does not seem to work... That template does not exist. What am I supposed to use?
 
: See https://www.mediawiki.org/wiki/Template:TOC
:
: We don't have this temnplate, see [https://wiki.factorio.com/index.php?title=Template:Toclimit Template:toclimit] - it is empty. :(
: What can be done? Try to understand, how the mediawiki implemented this toclimit. You need to see into the source-code of the template and follow all the connections. You will understand, how mediawiki works afterwards. :)
:
: Another way is not to use it. :) This is not so stupid as it sounds, cause I think when you need to cut the headings, then there is something wrong with the setup of your document. I think you can change the pros/cons part into a table, looks better. (And for a wiki you need to be careful not to mix your opinion with facts. I made this mistake many times, and the wiki is full of such (not so really proven) pros and cons), so I suggest to change this part into a heading named "Discussion" and under this you can add things, like those pros and cons, which are not hard facts. ˜˜˜˜

Latest revision as of 16:00, 30 September 2023

First of many issues: How do I limit the table of contents to level 3 or lower headers? {{toclimit|limit=3}} does not seem to work... That template does not exist. What am I supposed to use?

See https://www.mediawiki.org/wiki/Template:TOC
We don't have this temnplate, see Template:toclimit - it is empty. :(
What can be done? Try to understand, how the mediawiki implemented this toclimit. You need to see into the source-code of the template and follow all the connections. You will understand, how mediawiki works afterwards. :)
Another way is not to use it. :) This is not so stupid as it sounds, cause I think when you need to cut the headings, then there is something wrong with the setup of your document. I think you can change the pros/cons part into a table, looks better. (And for a wiki you need to be careful not to mix your opinion with facts. I made this mistake many times, and the wiki is full of such (not so really proven) pros and cons), so I suggest to change this part into a heading named "Discussion" and under this you can add things, like those pros and cons, which are not hard facts. ˜˜˜˜