Template:Prompt

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Prompt
InfoField
"Example"
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Prompt/doc.

This template records the text prompt used to generate an AI image. It autocategorizes images into Category:AI-generated images including prompts.

Usage[edit]

The template should be placed in |Other fields 1=, immediately below the description field of an image. For example, see this code:

{{Information
|description={{en|1=An image generated by DALL-E 3 of Wikimedians taking over the world.}}
|Other fields 1={{prompt|A group of Wikimedia editors rushes through a digital space, claiming it as their own and waving flags with the Wikipedia globe logo, digital art.}}
|date={{#time:j F Y}}
|source={{own}}
|author=DALL-E 3
}}
It produces this:
Description
English: An image generated by DALL-E 3 of Wikimedians taking over the world.
Prompt
InfoField
"A group of Wikimedia editors rushes through a digital space, claiming it as their own and waving flags with the Wikipedia globe logo, digital art."
Date 19 April 2024
Source Own work
Author DALL-E 3

TemplateData[edit]

Records the text prompt used to generate an AI image.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Prompt1

The prompt used to create the image, without enclosing quotation marks.

Stringrequired
Categorycat

Custom category to add image to, without prefix, overriding the default. Set to "no" to suppress categorization.

Default
AI-generated images including prompts
Page namesuggested