# Wikified Posts Component

**URL:** <https://meta.discourse.org/t/wikified-posts-component/199492>\
**Category:** Theme component\
**Tags:** wiki-posts\
**Created:** [August 6, 2021, 9:59pm UTC](https://meta.discourse.org/t/wikified-posts-component/199492 "2021-08-06T21:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [August 6, 2021, 9:59pm UTC](https://meta.discourse.org/t/wikified-posts-component/199492/1 "2021-08-06T21:59:32Z")

</div>

## Simple Description

This theme component enables you to make Wiki posts (and Shared Edits posts) more obvious.

Wikis and Shared Edits are a powerful feature of Discourse, but many users are unfamiliar with the concept and find the UI just a bit too subtle. This component makes it crystal clear, packaging the content from [Change the style of a wiki post](https://meta.discourse.org/t/how-to-change-the-style-of-a-wiki-post/78881).

## Screenshots

> ![image](https://global.discourse-cdn.com/meta/original/3X/c/b/cbe9d8f37ff8f98799534c6047dd190cc2ec9996.png)

## Detailed Description

Installing this component enables you to control the background colour of Wiki posts, and to add some text to the history/edit icon in the top right of the post.

It is a fork of [discourse-wikified-post-background-color](https://github.com/pacharanero/discourse-wikified-post-background-color) by @pacharanero, incorporates stuff from [Change the style of a wiki post](https://meta.discourse.org/t/how-to-change-the-style-of-a-wiki-post/78881) and re-used code from [Personal Message Bubbles](https://meta.discourse.org/t/personal-message-bubbles/147994) by @Rhidian.

## Settings

#### Wiki post background color

The background colour of Wiki posts can be set to whatever you like. It defaults to ‘highlight’, but you can use any of these options:

1. It works best when a Scheme colour is chosen (i.e. primary, secondary, tertiary, etc), as these are responsive to automatic dark mode.
2. A named color recognised in CSS (e.g. blue, red, yellow, black, etc)
3. An HTML color code (e.g. #effbfb, etc)

#### Shared edits background color

You can choose one of the same color options for Shared Edits posts (see the [Shared Edits Plugin](https://meta.discourse.org/t/discourse-shared-edits/167583))

#### Wiki added text

This adds the little bit of green text (defaulting to `Wiki Post`) in the top right corner of the post:

> ![image](https://global.discourse-cdn.com/meta/original/3X/1/e/1e56c82cc7f7ed2050965cec5119a39e3c7a9aae.png)

This is dynamic, and changes colour along with the history icon if there has been a recent edit (this is an unintended happy thing):

> ![image](https://global.discourse-cdn.com/meta/original/3X/e/e/ee9d7dc2cf302a8793cad7611f4a73e373911489.png)

If you don’t want any text there, then delete the text in the setting and save it.

#### Shared edits added text

The text displayed when it is a Shared Edits post. This is in the Danger color from your palate.

> ![image](https://global.discourse-cdn.com/meta/original/3X/5/0/5030a9455e8281a13c86c3f8aba6d5fc50158201.png)

## Roadmap

1. Auto tag Topics with ‘wiki’

Please make suggestions as replies to this post.

| | | |
| --- | --- | --- |
| 🛠 | **Repository** | [GitHub - nathan-nz/discourse-wikified-posts: This allows you to make Wiki posts more obvious. · GitHub](http://github.com/nathan-nz/discourse-wikified-posts) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

---

_[View the full topic](https://meta.discourse.org/t/wikified-posts-component/199492)._
