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...")
 
No edit summary
 
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 [[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 09:00, 21 November 2014

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. ˜˜˜˜