Jump to content

The Mailer Review/Volunteer/Remediating Articles: Difference between revisions

→‎Title: Updated code.
(→‎Before Editing: Tweaked language and added link.)
(→‎Title: Updated code.)
Line 39: Line 39:


== Title ==
== Title ==
If you clicked on the red link to begin creating the article, the title has been chosen for you. However, we want to italicize ''The Mailer Review'', so we have to use a code called <code><nowiki>{{DISPLAYTITLE}}</nowiki></code>. With this element, you can insert necessary text formatting, like [[w:MOS:ITALIC|italics]]:
If you clicked on the red link to begin creating the article, the title has been chosen for you. However, we want to tweak the display title, so we have to use a code called <code><nowiki>{{DISPLAYTITLE}}</nowiki></code>. With this element, you can insert necessary text formatting, like [[w:MOS:ITALIC|italics]]:


<blockquote>
<blockquote>
<code><nowiki>{{DISPLAYTITLE:<span style="font-size:22px;">''The Mailer Review''/Volume 12, 2018/</span>Reflections}}</nowiki></code>
<code><nowiki>{{DISPLAYTITLE:<span style="font-size:22px;">{{BASEPAGENAME}}/</span>{{SUBPAGENAME}}}}</nowiki></code>
</blockquote>
</blockquote>


The <code><nowiki><span></nowiki></code> tag shrinks the root page names to highlight the title of the page. Putting two apostrophes (<code><nowiki>''</nowiki></code>) on both sides of <code><nowiki>The Mailer Review</nowiki></code> will italicize the journal name in the published document; like from our [[The Mailer Review/Volume 12, 2018/Reflections|example above]]. Once you’ve entered your title, click the “Show preview” button under the editor window to see the results.{{efn|Get into the habit of clicking this button with every bit that you add to the article. It allows you to quickly see if you’ve made a mistake, so you can fix it before saving.}} Note that the title must otherwise be exactly the same, or the system will ignore the code and spit out an error. If it does, just review your code carefully and fix what’s needed.
The <code><nowiki><span></nowiki></code> tag shrinks the root page names to highlight the title of the page. The code above will work for most article titles. However, if the title contains italicized elements, like the title of a novel, you must replace <code><nowiki>{{SUBPAGENAME}}</nowiki></code> with the actual title, so you can include the italics. For example:
 
<blockquote>
<code><nowiki>{{DISPLAYTITLE:<span style="font-size:22px;">{{BASEPAGENAME}}/</span>''An American Dream'': The Singular Nightmare}}</nowiki></code>
</blockquote>
 
Putting two apostrophes (<code><nowiki>''</nowiki></code>) on both sides of <code><nowiki>An American Dream</nowiki></code> will italicize the novel’s name in the published document (see [[mediawikiwiki:Help:Formatting|Help:Formatting]]); check out the [[The Mailer Review/Volume 1, 2007/An American Dream: The Singular Nightmare|published article]]. Once you’ve entered your title, click the “Show preview” button under the editor window to see the results.{{efn|Get into the habit of clicking this button with every bit that you add to the article. It allows you to quickly see if you’ve made a mistake, so you can fix it before saving.}} Note that the title must otherwise be exactly the same, or the system will ignore the code and spit out an error. If it does, just review your code carefully and fix what’s needed.


== Header ==
== Header ==