Assault Lily Wiki:Editing Guide

This page provides help and tips with some special editing tasks on this wiki that you won't find in the MediaWiki help.

How to make pages have nice previews
It unfortunately takes some extra work to make wiki pages have nice previews when linked on places like Discord or Twitter.

Thumbnails
If you used an infobox on your article and included an image, it probably already set a thumbnail image for that page. Click on "Page information" on the bottom of the left-hand sidebar to check. If you see a 'page image' and it's the one you want, you're good to go.

Some pages have images, but no infobox. If that's the case, edit the page's source and look for a line of code like this:



Change it to this:



That will set your page image.

If you want your page image to be something different from the one you're using in an infobox, ask on the community portal. We will need to make special arrangements.

Page descriptions
To improve how your page looks when previewed, you'll need to manually specify a description in its source code, like so:

Try to limit the description to two or three sentences. Wiki markup like bold text and links does not work in descriptions; don't use it. The description will be hidden from people browsing the Wiki, and can differ as little or as much from the page's actual content as you'd like.

Fake redirects, and when to use them
This wiki's search engine is not great, and unfortunately is unlikely to be improved anytime soon. In particular, search suggestions have to start with, not just include, the text that one types—it won't suggest pages like Hitotsuyanagi Riri to visitors typing "Riri" in the search box, even if you create a redirect named "Riri" or "Riri Hitotsuyanagi". Because of this, you may want to instead create a fake redirect (true redirects, created with the #REDIRECT syntax, are not shown in the search box and there's no way to make them be.)

This is reasonably easy to do. Just paste the following code into the page that has the title you want (e.g. "Riri Hitotsuyanagi"):

Then change "Hitotsuyanagi Riri", both places it appears, to whatever page you want to have the redirect point to.

Fixing the categories
There's one problem with the above: the fake redirect will end up in the same categories as the original page (so Category:Yurigaoka Lilies will contain a listing for both "Hitotsuyanagi Riri" and "Riri Hitotsuyanagi".) This looks messy and serves no purpose. To fix this, use the Categorize template.

Look at the bottom of the 'target' page that your fake redirect points to. You'll see something like this:

Change it to this:

The text after "on_page=" should be the exact title of the 'target' page that you're editing. The parameters should be the categories you want that page added to. (The template supports a maximum of 5 categories currently.)

This template creates a simulated category box on fake redirects, making them identical from the perspective of readers, while not actually adding the fake redirect pages to the categories. With that, everything's peachy.

Well, not quite. Other templates that add categories, like  , will unavoidably add those categories to both the target page and the redirect page. This will cause two category boxes to show up on the redirect page. Ideally, you should not create fake redirects to pages that have categories added by templates (since those templates usually indicate the page is unfinished in some way,) but if you must, don't worry about it: categories like Category:Stub pages aren't made for comfortable browsing anyway.