Difference between revisions of "Extensions:Character Warnings"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 11: Line 11:
  
 
Adjust the size in this line <code>profile.blade.php</code> to your liking.
 
Adjust the size in this line <code>profile.blade.php</code> to your liking.
<code><img src="{{ asset('/images/content_warning.png') }}" style="width:30%;" alt="Content Warning"></img></code>
+
<code><img src="\{\{ asset('/images/content_warning.png') \}\}" style="width:30%;" alt="Content Warning"></img></code>
  
 
== Usage ==
 
== Usage ==

Revision as of 17:57, 7 November 2023

Character Warnings
Description Allows users to add warnings to characters
Author(s) redcr0wz
Status stable
Github extension/character-warnings
LK Version 2.1.3
Contains a Migration






Allows users to add warnings to characters. Useful in case you have designs on your website that need warning, such as gory designs or ones with body horror.

Installation

  • Pull the branch
  • run php artisan migrate
  • run php artisan optimize twice
  • Enjoy ^_^

Configuration

The warning image is the content warning thumbnail in site settings. I suggest making it 200x200 in size.

Adjust the size in this line profile.blade.php to your liking. <img src="\{\{ asset('/images/content_warning.png') \}\}" style="width:30%;" alt="Content Warning"></img>

Usage

Users can configure if icons and warnings are visible or not, just in case they don't need content warnings for warned designs.

Troubleshooting

Contact redcrowz on Discord if you encounter any issues! This is my first extension and my coding experience is pretty limited, but I'll do my best!

Images

See Also

Keep these extensions in mind if you plan on installing this: