Wiki style guide

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
User avatar
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Wiki style guide

Post by Sammy McSam »

Just came across this thread and added to the wiki formatting page today, let me know if you have any questions on any of the edits or templates.
User avatar
kevan
Posts: 35
Joined: 18 January 2014, 16:41

Re: Wiki style guide

Post by kevan »

Sammy McSam wrote: 14 April 2023, 13:35 Just came across this thread and added to the wiki formatting page today, let me know if you have any questions on any of the edits or templates.
I saw your updates from a couple of weeks ago. This is good comprehensive stuff, but maybe a little too technical in places, for a casual rule writer who just wants to know how to make bullet points show up.

Has this whole issue of wiki rules markup ever made it to the eyes of any BGA staff? I've been noticing more and more rules writers independently adopting their own workarounds for it (particularly the heading overlap bug), and nearly all of the problems could be fixed by adding a few lines of "wikicontent" markup to the common.css file.

Bullet points (which are probably the most important issue in the context of game rules which often present lists of turn options or game objects, and which BGA hasn't displayed for over three years now) would work again today if someone could just add:

Code: Select all

.wikicontent li { list-style: outside; margin: 0em 1em; }
User avatar
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Wiki style guide

Post by Sammy McSam »

Thanks for the feedback. I've made HTML/CSS less prominent and regrouped by list type.

A suggested plan of action, not necessarily in this order:
  1. Share bug report(s) to increase votes.
  2. Test CSS workarounds and agree on a set of recommended CSS rules. | Wiki reference
  3. Ask more users to test the recommended CSS rules and provide any feedback. | bga-developers discord
  4. Add specific & concise issue descriptions and relevant CSS rules to existing bug reports.
  5. Request the chrome extension developers use the recommended CSS rules. | Wiki reference
  6. As more users install the chrome extension, BGA staff will take more interest in the CSS and hopefully fix themselves.
User avatar
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Wiki style guide

Post by Sammy McSam »

kevan wrote: 16 November 2023, 14:41 nearly all of the problems could be fixed by adding a few lines of "wikicontent" markup to the common.css file.
My CSS suggestion:

Code: Select all

.wikicontent ul {
margin:.25em;
padding:.25em 1em;
}

.wikicontent ol {
margin:.5em;
padding:.25em 1.25em;
}

.wikicontent ul li {
list-style-type:disc;
}

.wikicontent ol li {
list-style-type:decimal;
padding-inline-start:.25em;
}

.wikicontent dd {
padding-inline-start:1em;
}

.wikicontent table {
width:auto;
margin:1em 0;
}

.wikicontent caption {
text-align:center;
font-weight:700;
}

.wikicontent th,td {
border:1px solid gray;
}

.wikicontent dt,.wikicontent h1,.wikicontent h2,.wikicontent h3,.wikicontent h4,.wikicontent h5,.wikicontent h6 {
font-weight:700;
}

.wikicontent h3 {
margin-top:20px;
width:max-content;
max-width: 90%
border-radius:0 6px 6px 0;
}

.wikicontent h5 {
margin:15px 0 5px;
}

.wikicontent h6 {
margin:10px 0 5px;
}

.wikicontent blockquote {
margin-inline:40px;
border-left:4px solid gray;
margin-top:1em;
margin-bottom:1em;
padding:4px 16px;
}
Last edited by Sammy McSam on 22 November 2023, 17:11, edited 1 time in total.
User avatar
cigma
Posts: 1443
Joined: 15 December 2020, 00:30

Re: Wiki style guide

Post by cigma »

Sammy McSam wrote: 18 November 2023, 20:08 [*]Share bug report(s) to increase votes.
Here is one of them: https://boardgamearena.com/bug?id=102754 It's not exactly about the wiki, but related to it (missleading link). Please vote for it!
#zan_zendegi_azadi / #woman_life_freedom
#StandWithUkraine
Language is a source of misunderstanding. (Antoine de Saint-Exupery: The Little Prince) But it is also the source of understanding - it all depends on how you use it. :-)
User avatar
Sammy McSam
Posts: 83
Joined: 07 April 2021, 20:02

Re: Wiki style guide

Post by Sammy McSam »

cigma wrote: 21 November 2023, 05:55 Please vote for it!
Thanks for raising this, voted and added: https://en.doc.boardgamearena.com/Wiki_ ... #Languages
User avatar
kevan
Posts: 35
Joined: 18 January 2014, 16:41

Re: Wiki style guide

Post by kevan »

Sammy McSam wrote: 18 November 2023, 20:08 Thanks for the feedback. I've made HTML/CSS less prominent and regrouped by list type.

A suggested plan of action, not necessarily in this order:
  1. Share bug report(s) to increase votes.
  2. Test CSS workarounds and agree on a set of recommended CSS rules. | Wiki reference
  3. Ask more users to test the recommended CSS rules and provide any feedback. | bga-developers discord
  4. Add specific & concise issue descriptions and relevant CSS rules to existing bug reports.
  5. Request the chrome extension developers use the recommended CSS rules. | Wiki reference
  6. As more users install the chrome extension, BGA staff will take more interest in the CSS and hopefully fix themselves.
The CSS stuff doesn't seem like a complicated fix that needs experimentation, BGA staff just need to be made aware that they forgot to except the wikicontent elements from their bullet/heading changes for the wider site in 2020 and 2022. And the bugs for section and gamehelp links are down to how BGA generates its game page, rather than a CSS issue.

Voting the bugs up, and making people aware that these are fixable bugs rather a deliberate BGA aesthetic, seems the way to go, to me, but I'm unfamiliar with the Chrome extension. If you think that BGA staff are more likely to notice that than a bug report, fair enough.

Here's a full list of current wiki ruleset bugs, anyway, taken from the wiki page:
User avatar
friendofblahaj
Posts: 7
Joined: 10 July 2023, 23:12

Re: Wiki style guide

Post by friendofblahaj »

I found my way to this thread after searching for an answer to why bullets and headers were not appearing correctly. I figured someone must have already discussed the issue, and I was right! Thank you for the formatting reference guide as well as your advocacy for a solution.
User avatar
Meeplelowda
Posts: 3828
Joined: 14 March 2020, 10:31

Re: Wiki style guide

Post by Meeplelowda »

friendofblahaj wrote: 07 April 2025, 22:12 I found my way to this thread after searching for an answer to why bullets and headers were not appearing correctly. I figured someone must have already discussed the issue, and I was right! Thank you for the formatting reference guide as well as your advocacy for a solution.
Thanks for making the effort to actually search first instead of just blasting off a new topic. Not all heroes wear capes.
Play Now lobby 4ever! https://boardgamearena.com/lobby
User avatar
SimplicatusGames
Posts: 141
Joined: 10 May 2021, 10:30
Contact:

Re: Wiki style guide

Post by SimplicatusGames »

kevan wrote: 05 January 2024, 16:04
Here's a full list of current wiki ruleset bugs, anyway, taken from the wiki page:
Upvoted - and hereby bumped, hoping that more people will do the same. :idea:

I've been proofreading and improving the layout of many How to play wikis, adding an unknown number of bullet point characters :lol: in order to make the text more readable (most recently in the 51st State wiki). If BGA ever fixes these display bugs for the Wiki there will be a certain amount of rollback work, but it will be worth it. I just hope it happens sooner rather than later.

And now for my question - I could swear that it used to be possible to use different font colours (which is very useful when explaining about differently coloured game objects), but now I cannot see that option at all in the formatting menu in the 👁️ Visual editing view. Can anybody help me with some info? :?:

PS: I just had the idea of copying the markup code for font colours from here and see if I can add it in the [[]] Source editing view.
Our games make you think! https://Simplicatus.Games is an independent publisher and distributor of indie tabletop games.
Post Reply

Return to “Discussions”